X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libatalk%2Fasp%2Fasp_write.c;h=2819e3152db6a357f5611e7463e4a7266971fa5c;hb=f758a8c097b044293fa2fe58f8a7fcc2d8909b55;hp=2c5aea39d59425920ee6131e4e5c09eab68c3b99;hpb=458fcac4e6aee7eb54ba744f57169f70cce12505;p=netatalk.git diff --git a/libatalk/asp/asp_write.c b/libatalk/asp/asp_write.c index 2c5aea39..2819e315 100644 --- a/libatalk/asp/asp_write.c +++ b/libatalk/asp/asp_write.c @@ -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. * @@ -23,7 +25,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" -#endif +#endif /* HAVE_CONFIG_H */ #include #include @@ -35,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;