]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/status.c
don't create an adouble file in ad_metadata for noadouble volume
[netatalk.git] / etc / afpd / status.c
index 1e46dd86b9fb5927eeea619293a869d12c94c486..96fb97d1f1e86fd876b8fe56d1920a9eb895ebfd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: status.c,v 1.28 2009-11-06 03:52:42 didg Exp $
+ * $Id: status.c,v 1.30 2009-11-23 19:04:14 franklahm Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -14,6 +14,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <sys/types.h>
+#include <sys/socket.h>
 #include <atalk/logger.h>
 
 #ifdef BSD4_4
@@ -574,7 +575,7 @@ void status_init(AFPConfig *aspconfig, AFPConfig *dsiconfig,
     c = status_server(status, options->server ? options->server :
                       options->hostname, options);
     status_machine(status);
-    status_versions(status);
+    status_versions(status, asp, dsi);
     status_uams(status, options->uamlist);
     if (options->flags & OPTION_CUSTOMICON)
         status_icon(status, icon, sizeof(icon), c);