ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/server.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/server.c (file contents):
Revision 8425 by michael, Sun Mar 25 17:45:13 2018 UTC vs.
Revision 8436 by michael, Thu Mar 29 09:04:53 2018 UTC

# Line 270 | Line 270 | try_connections(void *unused)
270      assert(conf->class);
271  
272      /* Also when already connecting! (update holdtimes) --SRB */
273 <    if (!conf->port || !IsConfAllowAutoConn(conf))
273 >    if (conf->port == 0 || !IsConfAllowAutoConn(conf))
274        continue;
275  
276      /*
# Line 330 | Line 330 | try_connections(void *unused)
330   }
331  
332   int
333 < valid_servname(const char *name)
333 > server_valid_name(const char *name)
334   {
335    unsigned int dots = 0;
336    const char *p = name;
# Line 394 | Line 394 | server_connect(struct MaskItem *conf, st
394  
395    getnameinfo((const struct sockaddr *)&conf->addr, conf->addr.ss_len,
396                buf, sizeof(buf), NULL, 0, NI_NUMERICHOST);
397 <  ilog(LOG_TYPE_IRCD, "Connect to %s[%s] @%s", conf->name, conf->host,
398 <       buf);
397 >  ilog(LOG_TYPE_IRCD, "Connect to %s[%s] @%s", conf->name, conf->host, buf);
398  
399    /* Still processing a DNS lookup? -> exit */
400    if (conf->dns_pending)

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)