]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/dsi/dsi_getstat.c
Fix unnamed union inside struct
[netatalk.git] / libatalk / dsi / dsi_getstat.c
index aec872ab0c15f1aaea351ddeb9febe44860e9f9a..4be9b802175fc218f3867a6655eb84a602783290 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $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.
@@ -21,7 +20,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;
+  dsi->header.dsi_data.dsi_code = dsi->header.dsi_reserved = 0;
   
   memcpy(dsi->commands, dsi->status, dsi->statuslen);
   dsi->cmdlen = dsi->statuslen;