diff options
Diffstat (limited to 'FICS/utils.c')
| -rw-r--r-- | FICS/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index 76cad6c..599a4ac 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -957,7 +957,7 @@ truncate_file(const char *file, int lines) while (fgets(tBuf[bptr], MAX_LINE_SIZE, fp) != NULL) { if (strchr(tBuf[bptr], '\n') == NULL) { // Line too long - fclose(fp); + (void) fclose(fp); return -1; } |
