removing remenants of abstract unix domain socket handling, this finishes addressing...
[oweals/gnunet.git] / src / nat / gnunet-helper-nat-client.c
index 3f74c22c2a62444e4b7deb7d16e229f4b07f0c38..bb31570b546495eb3e00b5d9fdf869e322bd03ef 100644 (file)
@@ -301,7 +301,7 @@ send_icmp_udp (const struct in_addr *my_ip, const struct in_addr *other)
   }
   else if (sizeof (packet) != (size_t) err)
   {
-    fprintf (stderr, "Error: partial send of ICMP message\n");
+    fprintf (stderr, "Error: partial send of ICMP message with size %lu\n", (unsigned long) off);
   }
 }
 
@@ -492,7 +492,7 @@ main (int argc, char *const *argv)
  cleanup:
   if (-1 != rawsock)
     (void) close (rawsock);
-  return 0;
+  return global_ret;
 }
 
 /* end of gnunet-helper-nat-client.c */