]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/atp/atp_sreq.c
Remove bdb env on exit
[netatalk.git] / libatalk / atp / atp_sreq.c
index 48d4555ef7a97f0258636a82c109380adfd86d82..a34f3470c8e2480d1a6aadee3d602094aed8affd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: atp_sreq.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: atp_sreq.c,v 1.5 2002-01-17 06:08:55 srittau Exp $
  *
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.
 
 #include "atp_internals.h"
 
+/*
+ * ah:        open atp handle
+ * atpb:      parameter block
+ * respcount: buffers available for response
+ * flags:     ATP_XO, ATP_TREL
+ */
 int
-atp_sreq( ah, atpb, respcount, flags )
-    ATP                        ah;             /* open atp handle */
-    struct atp_block   *atpb;          /* parameter block */
-    int                        respcount;      /* buffers available for response */
-    u_int8_t           flags;          /* ATP_XO, ATP_TREL?? */
+atp_sreq( ATP ah, struct atp_block *atpb, int respcount, u_int8_t flags )
 {
     struct atpbuf      *req_buf;
     int                        i;
@@ -93,7 +95,7 @@ atp_sreq( ah, atpb, respcount, flags )
     /* send the initial request
     */
 #ifdef EBUG
-    printf( "\n<%d> atp_sreq: sending a %d byte packet ", getpid(),
+    printf( "\n<%d> atp_sreq: sending a %ld byte packet ", getpid(),
            req_buf->atpbuf_dlen );
     atp_print_addr( " to", atpb->atp_saddr );
     putchar( '\n' );