Try to make indent formatting less horrible
[oweals/busybox.git] / libbb / get_line_from_file.c
index 3b6e1e778a226ffebd27c0635971209e26c8fee4..9a831f184e75f5ec87960aedbe5e3be6b5ee566a 100644 (file)
@@ -40,7 +40,7 @@ static char *private_get_line_from_file(FILE *file, int c)
 
        while ((ch = getc(file)) != EOF) {
                /* grow the line buffer as necessary */
-               if (idx > linebufsz-2) {
+               if (idx > linebufsz - 2) {
                        linebuf = xrealloc(linebuf, linebufsz += GROWBY);
                }
                linebuf[idx++] = (char)ch;
@@ -51,7 +51,6 @@ static char *private_get_line_from_file(FILE *file, int c)
                        break;
                }
        }
-
        if (linebuf) {
                if (ferror(file)) {
                        free(linebuf);