]> arthur.barton.de Git - netatalk.git/commitdiff
Modified markline() to return 1 on success instead of *linelength. This should fix...
authormorgana <morgana>
Wed, 27 Jun 2001 03:33:14 +0000 (03:33 +0000)
committermorgana <morgana>
Wed, 27 Jun 2001 03:33:14 +0000 (03:33 +0000)
etc/papd/file.c

index 0339158cd2ae37e1854aa7000719f1d617f05cb1..2a2e3b9bb8d762b8f09cbeb420375b29842e1a01 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: file.c,v 1.6 2001-06-25 20:13:45 rufustfirefly Exp $
+ * $Id: file.c,v 1.7 2001-06-27 03:33:14 morgana Exp $
  *
  * Copyright (c) 1990,1994 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -54,7 +54,8 @@ int markline( pf, start, linelength, crlflength )
        (*crlflength)++;
     }
 
-    return *linelength;
+    /* success, return 1 */
+    return( 1 );
 }
 
 void morespace( pf, data, len )