]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/atp/atp_rresp.c
massive commenting/autoconf changes
[netatalk.git] / libatalk / atp / atp_rresp.c
index dd9cb1761583ad2cc9290cd6896f564e29a89bc3..5f96ced6ae9ac4dc93901bb22e4dcad06f65ef9c 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * $Id: atp_rresp.c,v 1.4 2001-06-29 14:14:46 rufustfirefly 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 <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/time.h>
 #include <errno.h>
 #include <sys/uio.h>
+#include <sys/socket.h>
 
 #include <netatalk/at.h>
 #include <atalk/atp.h>
@@ -34,7 +41,7 @@
 
 #ifdef EBUG
 #include <stdio.h>
-#endif
+#endif /* EBUG */
 
 #include "atp_internals.h"
 
@@ -47,7 +54,7 @@ atp_rresp( ah, atpb )
 
 #ifdef EBUG
     atp_print_bufuse( ah, "atp_rresp" );
-#endif
+#endif /* EBUG */
     /* check parameters
     */
     if ( atpb->atp_rresiovcnt <= 0 || atpb->atp_rresiovcnt > 8 ) {
@@ -78,7 +85,7 @@ atp_rresp( ah, atpb )
                len, i );
        bprint( (char *)ah->atph_resppkt[ i ]->atpbuf_info.atpbuf_data,
                len + ATP_HDRSIZE );
-#endif
+#endif /* EBUG */
        memcpy(atpb->atp_rresiov[ i ].iov_base,
               ah->atph_resppkt[ i ]->atpbuf_info.atpbuf_data + ATP_HDRSIZE,
               len );