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]; |
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; |