Fix a small buglet in the last patch. :-)
authorShamus Hammons <jlhamm@acm.org>
Sat, 4 Jul 2020 16:35:44 +0000 (11:35 -0500)
committerShamus Hammons <jlhamm@acm.org>
Sat, 4 Jul 2020 16:35:44 +0000 (11:35 -0500)
direct.c

index e022398ca56d8b089bfcd16149097e84b3ca6b26..53d7c6ae48aeab8126bc826e24abda4edaf3c3e6 100644 (file)
--- a/direct.c
+++ b/direct.c
@@ -650,14 +650,14 @@ allright:
                                }
                        }
                        else
-                               return(comma_error);
+                               return error(comma_error);
                }
                else
                        pos = lseek(fd, 0L, SEEK_SET);
        }
        else
        {
-               //size_pos_fallthrough:
+               // size & pos not given, so assume offset of 0 and all of the binary
                size = lseek(fd, 0L, SEEK_END);
                pos = lseek(fd, 0L, SEEK_SET);
        }