Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ray Garcia
himawari
Commits
c06c1b2b
Commit
c06c1b2b
authored
Sep 28, 2017
by
R.K.Garcia
Browse files
fix invalid pointer comparison in attach
parent
df6f1d2a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/aHimawariFile.cxx
View file @
c06c1b2b
...
...
@@ -16,12 +16,12 @@ aHimawariFile *aHimawariFile::attach(const char *pathname, const struct Himawari
aHimawariFile
*
ret
=
NULL
;
ret
=
attachHCast
(
pathname
,
optional_sentinels
);
if
(
ret
>
0
)
if
(
ret
!=
0
)
return
ret
;
// for now, just attempt til we succeed
ret
=
attachHSD
(
pathname
,
optional_sentinels
);
if
(
ret
>
0
)
if
(
ret
!=
0
)
return
ret
;
// add other file types here
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment