]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/dsi/dsi_cmdreply.c
Remove all Appletalk stuff
[netatalk.git] / libatalk / dsi / dsi_cmdreply.c
index f2223fff8f7400795ff27f92501f9ad21c711448..4d5a904d199003b8930f6b87e93641ee6907a13d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: dsi_cmdreply.c,v 1.4 2005-04-28 20:50:02 bfernhomberg Exp $
+ * $Id: dsi_cmdreply.c,v 1.5 2009-10-25 06:13:11 didg Exp $
  *
  * Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
  * All rights reserved. See COPYRIGHT.
@@ -10,8 +10,9 @@
 #endif /* HAVE_CONFIG_H */
 
 #include <stdio.h>
+#include <arpa/inet.h>
+
 #include <atalk/dsi.h>
-#include <netatalk/endian.h>
 
 /* this assumes that the reply follows right after the command, saving
  * on a couple assignments. specifically, command, requestID, and
@@ -25,9 +26,5 @@ int ret;
   dsi->header.dsi_code = htonl(err);
 
   ret = dsi_stream_send(dsi, dsi->data, dsi->datalen);
-  if (dsi->sigblocked)  {
-      sigprocmask(SIG_SETMASK, &dsi->oldset, NULL);
-      dsi->sigblocked = 0;
-  }
   return ret;
 }