fx
authorChristian Grothoff <christian@grothoff.org>
Fri, 8 Jul 2011 08:04:25 +0000 (08:04 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 8 Jul 2011 08:04:25 +0000 (08:04 +0000)
src/nat/nat_mini.c

index b67718407aebd88a0ece822cc3d84b490d3197ff..2ecdf3575b63e0fd9e8dc10185f22511ababa62b 100644 (file)
@@ -53,6 +53,8 @@ GNUNET_NAT_mini_get_external_ipv4 (struct in_addr *addr)
   opipe = GNUNET_DISK_pipe (GNUNET_YES,
                            GNUNET_NO,
                            GNUNET_YES);
+  if (NULL == opipe)
+    return GNUNET_SYSERR;
   eip = GNUNET_OS_start_process (NULL,
                                 opipe,
                                 "external-ip",
@@ -86,4 +88,6 @@ GNUNET_NAT_mini_get_external_ipv4 (struct in_addr *addr)
   return iret; 
 }
 
+
+
 /* end of nat_mini.c */