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

Comparing ircd-hybrid-7.3/src/s_user.c (file contents):
Revision 1116 by michael, Tue Dec 21 14:45:55 2010 UTC vs.
Revision 1124 by michael, Mon Feb 7 11:45:27 2011 UTC

# Line 409 | Line 409 | register_local_user(struct Client *sourc
409      sendto_realops_flags(UMODE_REJ, L_ALL, "Invalid username: %s (%s@%s)",
410                           source_p->name, source_p->username, source_p->host);
411      ++ServerStats.is_ref;
412 <    ircsprintf(tmpstr2, "Invalid username [%s]", source_p->username);
412 >    snprintf(tmpstr2, sizeof(tmpstr2), "Invalid username [%s]",
413 >             source_p->username);
414      exit_client(source_p, &me, tmpstr2);
415      return;
416    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines