]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/dsi/dsi_getstat.c
Set version to 2.1
[netatalk.git] / libatalk / dsi / dsi_getstat.c
index 268caf44cab94e3ce7ca1ca3bb190da4713d0b00..33e89fad3eda10c948fa29e5b6a06b5baa5c0df0 100644 (file)
@@ -1,8 +1,14 @@
 /*
+ * $Id: dsi_getstat.c,v 1.4 2005-09-07 15:27:29 didg Exp $
+ *
  * Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
  * All rights reserved. See COPYRIGHT.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 #include <stdio.h>
 #include <string.h>
 
@@ -15,6 +21,7 @@ void dsi_getstatus(DSI *dsi)
 {
   dsi->header.dsi_flags = DSIFL_REPLY;
   /*dsi->header.dsi_command = DSIFUNC_STAT;*/
+  dsi->header.dsi_code = dsi->header.dsi_reserved = 0;
   
   memcpy(dsi->commands, dsi->status, dsi->statuslen);
   dsi->cmdlen = dsi->statuslen;