-actually use global_ret for return
authorChristian Grothoff <christian@grothoff.org>
Mon, 19 Dec 2011 12:35:31 +0000 (12:35 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 19 Dec 2011 12:35:31 +0000 (12:35 +0000)
src/nat/gnunet-helper-nat-client.c

index 3f74c22c2a62444e4b7deb7d16e229f4b07f0c38..73504ab1dec311b8b4092881c1935a85e9df91a0 100644 (file)
@@ -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 */