/[cvs]/eggdrop1.8/src/dcc.c
ViewVC logotype

Diff of /eggdrop1.8/src/dcc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.14 by thommey, Wed Jul 31 00:20:05 2013 UTC revision 1.15 by thommey, Fri Mar 21 21:42:41 2014 UTC
# Line 273  void failed_link(int idx) Line 273  void failed_link(int idx)
273      return;      return;
274    }    }
275    
276    /* Try next port */    /* Try next port, if it makes sense (no AF_UNSPEC, ...) */
277    killsock(dcc[idx].sock);    killsock(dcc[idx].sock);
278    dcc[idx].timeval = now;    dcc[idx].timeval = now;
279    if (open_telnet(idx, dcc[idx].host, dcc[idx].port + 1) < 0)    if (open_telnet(idx, dcc[idx].host, dcc[idx].port + 1) == -1)
280      failed_link(idx);      failed_link(idx);
281  }  }
282    

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23