Revision 07e63287

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);
streamer.c
259 259

  
260 260
  my_sock = init();
261 261
  if (my_sock == NULL) {
262
    fprintf(stderr, "Cannot initialize streamer, exiting!\n");
262 263
    return -1;
263 264
  }
264 265
  if (srv_port != 0) {

Also available in: Unified diff