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/trunk/src/s_serv.c (file contents):
Revision 2228 by michael, Thu Jun 13 19:46:30 2013 UTC vs.
Revision 2229 by michael, Thu Jun 13 20:10:27 2013 UTC

# Line 408 | Line 408 | check_server(const char *name, struct Cl
408          return -2;
409  
410        if (!EmptyString(conf->certfp))
411 <        if (client_p->certfp[0] == '\0' || strcasecmp(client_p->certfp, conf->certfp))
411 >        if (EmptyString(client_p->certfp) || strcasecmp(client_p->certfp, conf->certfp))
412            return -4;
413  
414        server_conf = conf;
# Line 620 | Line 620 | sendnick_TS(struct Client *client_p, str
620                   target_p->servptr->name, target_p->info);
621    }
622  
623 <  if (target_p->certfp[0])
623 >  if (!EmptyString(target_p->certfp))
624      sendto_one(client_p, ":%s CERTFP %s",
625                 ID_or_name(target_p, client_p), target_p->certfp);
626  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines