]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/dsi/dsi_opensess.c
Rename cvsignore to gitignore
[netatalk.git] / libatalk / dsi / dsi_opensess.c
index e33d1d78490ba5a7f0eaaf872db2e7313340fd88..92b5029495066375868e1fe9db6148070ec840ba 100644 (file)
@@ -1,11 +1,13 @@
 /*
+ * $Id: dsi_opensess.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
+#endif /* HAVE_CONFIG_H */
 
 #include <stdio.h>
 #include <string.h>
@@ -35,6 +37,7 @@ void dsi_opensession(DSI *dsi)
   /* let the client know the server quantum. we don't use the
    * max server quantum due to a bug in appleshare client 3.8.6. */
   dsi->header.dsi_flags = DSIFL_REPLY;
+  dsi->header.dsi_code = 0;
   /* dsi->header.dsi_command = DSIFUNC_OPEN;*/
   dsi->cmdlen = 2 + sizeof(i); /* length of data. dsi_send uses it. */
   dsi->commands[0] = DSIOPT_SERVQUANT;