]> arthur.barton.de Git - netatalk.git/commitdiff
MFH: 1.24
authorjmarcus <jmarcus>
Mon, 11 Mar 2002 17:54:01 +0000 (17:54 +0000)
committerjmarcus <jmarcus>
Mon, 11 Mar 2002 17:54:01 +0000 (17:54 +0000)
Do not immediately return if an application requests data beyond the end
of file.

etc/afpd/fork.c

index e4881d435079b514caba9671911294e13c7eac94..420dde73bf8a31dc1467b9adef77fe8ececf8583 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: fork.c,v 1.11.2.4 2002-02-09 20:29:02 jmarcus Exp $
+ * $Id: fork.c,v 1.11.2.5 2002-03-11 17:54:01 jmarcus Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -876,7 +876,6 @@ int         ibuflen, *rbuflen;
         goto afp_read_done;
     if (saveerr < 0) {
        err = saveerr;
-       goto afp_read_done;
     }
     /* dsi can stream requests. we can only do this if we're not checking
      * for an end-of-line character. oh well. */