]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/asp/asp_write.c
Remove bdb env on exit
[netatalk.git] / libatalk / asp / asp_write.c
index 411eb0b292b0c8970b1568976c2dcc7fe30e1e04..2819e3152db6a357f5611e7463e4a7266971fa5c 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * $Id: asp_write.c,v 1.4 2009-10-22 12:35:39 franklahm Exp $
+ *
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.
  *
  *     netatalk@itd.umich.edu
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 #include <string.h>
 #include <sys/types.h>
 #include <sys/uio.h>
@@ -31,9 +37,9 @@
 
 #if defined(BSD) || defined(BSD4_3)
 #define memmove(a, b, n)   bcopy((b), (a), (n))
-#endif
+#endif /* BSD || BSD4_3 */
 
-int asp_wrtcont(ASP asp, char *buf, int *buflen)
+int asp_wrtcont(ASP asp, char *buf, size_t *buflen)
 {
     struct iovec       iov[ ASP_MAXPACKETS ];
     struct atp_block   atpb;