diff options
| author | Keith Packard <keithp@keithp.com> | 2009-09-06 13:15:10 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-09-06 13:15:10 -0700 | 
| commit | d0eac989b1ffc8ae30ba12da403eb4bf1ad42d6b (patch) | |
| tree | 3ea6e8f124e18c61d8bd43123ee99581c779a178 | |
| parent | 73f4a57239f770aff603b961169c0e2cfe2c276b (diff) | |
Don't look at NULL strings (summary_name)
Signed-off-by: Keith Packard <keithp@keithp.com>
| -rw-r--r-- | ao-tools/ao-postflight/ao-postflight.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/ao-tools/ao-postflight/ao-postflight.c b/ao-tools/ao-postflight/ao-postflight.c index 0c632c34..c1e4d800 100644 --- 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"); | 
