X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fmain.c;h=9b704d1fddcf6b7afbffc49e6b129ae0b0e628f3;hp=ff5e6afaf443d6a2bbc5d5881212ac88c3090c01;hb=a25607f788fe8b31f954ea8174f92b77e2dd8a59;hpb=0f154e42a4c07336148d6678617d42273ad71368 diff --git a/src/main.c b/src/main.c index ff5e6afa..9b704d1f 100644 --- a/src/main.c +++ b/src/main.c @@ -824,7 +824,7 @@ print_version (void) int line_length = MAX_CHARS_PER_LINE; while ((line_length > 0) && (compiled_features[i] != NULL)) { - if (printf ("%s ", compiled_features[i])) + if (printf ("%s ", compiled_features[i]) < 0) exit (3); line_length -= strlen (compiled_features[i]) + 2; i++;