]> Shamusworld >> Repos - rmac/blobdiff - direct.c
Fix a small buglet in the last patch. :-)
[rmac] / 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);
        }