projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't look at NULL strings (summary_name)
[fw/altos]
/
ao-tools
/
ao-postflight
/
ao-postflight.c
diff --git
a/ao-tools/ao-postflight/ao-postflight.c
b/ao-tools/ao-postflight/ao-postflight.c
index 0c632c343ca0e576c2c247e6405992c16b712cbc..c1e4d800cd1edcf106b3010aca9d28d324430006 100644
(file)
--- a/
ao-tools/ao-postflight/ao-postflight.c
+++ b/
ao-tools/ao-postflight/ao-postflight.c
@@
-230,7
+230,7
@@
main (int argc, char **argv)
}
}
if (detail_name) {
- if (!strcmp (summary_name, detail_name))
+ if (
summary_name &&
!strcmp (summary_name, detail_name))
detail_file = summary_file;
else {
detail_file = fopen(detail_name, "w");