new operation queue for limiting overlay connects
[oweals/gnunet.git] / src / transport / gnunet-transport-wlan-sender.c
index daa8f026970f60fbbe03f88713bc26ad50952dac..c5718b858fb9e322447a72be9b8851a439022436 100644 (file)
@@ -163,7 +163,10 @@ main (int argc, char *argv[])
   if (pid)
   {
     /* A positive (non-negative) PID indicates the parent process */
-    close (commpipe[0]);        /* Close unused side of pipe (in side) */
+    if (0 != close (commpipe[0]))        /* Close unused side of pipe (in side) */
+      fprintf (stderr,
+              "Failed to close fd: %s\n",
+              strerror (errno));
     setvbuf (stdout, (char *) NULL, _IONBF, 0); /* Set non-buffered output on stdout */