Revision 07e63287 net_helpers.c

View differences:

net_helpers.c
168 168
  if (!ip) {
169 169
    ip = autodetect_ip_address();
170 170
  }
171
  if (!ip) {
172
    fprintf(stderr, "cannot detect IP!\n");
173
    return NULL;
174
  }
171 175
  fprintf(stderr, "IP is: %s ...\n", ip);
172 176

  
173 177
  return strdup(ip);

Also available in: Unified diff