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

Comparing ircd-hybrid/trunk/src/auth.c (file contents):
Revision 4859 by michael, Fri Nov 7 17:19:38 2014 UTC vs.
Revision 4862 by michael, Fri Nov 7 19:50:45 2014 UTC

# Line 334 | Line 334 | timeout_auth_queries_event(void *notused
334   static void
335   auth_connect_callback(fde_t *fd, int error, void *data)
336   {
337 <  struct AuthRequest *auth = data;
337 >  struct AuthRequest *const auth = data;
338    struct irc_ssaddr us;
339    struct irc_ssaddr them;
340    char authbuf[16];
# Line 391 | Line 391 | enum IdentReplyFields
391   * \return The userid, or NULL on parse failure.
392   */
393   static const char *
394 < check_ident_reply(char *reply)
394 > check_ident_reply(char *const reply)
395   {
396    char *token = NULL, *end = NULL;
397    char *vector[USERID_TOKEN_COUNT];
398 <  int count = token_vector(reply, ':', vector, USERID_TOKEN_COUNT);
398 >  const int count = token_vector(reply, ':', vector, USERID_TOKEN_COUNT);
399  
400    if (USERID_TOKEN_COUNT != count)
401      return NULL;

Diff Legend

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