]> arthur.barton.de Git - netatalk.git/commitdiff
Add debug message
authorfranklahm <franklahm>
Mon, 11 Jan 2010 11:09:36 +0000 (11:09 +0000)
committerfranklahm <franklahm>
Mon, 11 Jan 2010 11:09:36 +0000 (11:09 +0000)
etc/afpd/enumerate.c

index 4608ecb4e3fb03edae1ecdcd366d94b742a69269..15235c6f6242b9bec574e50d3d73313df1abf545 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: enumerate.c,v 1.47 2009-10-15 10:43:13 didg Exp $
+ * $Id: enumerate.c,v 1.48 2010-01-11 11:09:36 franklahm Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -266,6 +266,9 @@ static int enumerate(AFPObj *obj _U_, char *ibuf, size_t ibuflen _U_,
         return path_error(o_path, AFPERR_NODIR );
     }
 
+    LOG(log_debug, logtype_afpd, "enumerate(vid:%u, did:%u, name:'%s', f/d:%04x/%04x, rc:%u, i:%u, max:%u)",
+        ntohs(vid), ntohl(did), o_path->u_name, fbitmap, dbitmap, reqcnt, sindex, maxsz);
+
     data = rbuf + 3 * sizeof( u_int16_t );
     sz = 3 * sizeof( u_int16_t );      /* fbitmap, dbitmap, reqcount */