changeset 21 | a591c0872243 |
parent 17 | 596dec2978b2 |
child 22 | 5529e269a78c |
--- a/session.c Sat Apr 19 17:29:17 2014 +0500 +++ b/session.c Sat Apr 19 19:07:31 2014 +0500 @@ -290,7 +290,7 @@ capa(s); break; case CMD_USER: - strlcpy(s->user, args, sizeof(s->user)); + (void)strlcpy(s->user, args, sizeof(s->user)); session_reply(s, "%s", "+OK"); break; case CMD_PASS: @@ -298,7 +298,7 @@ session_reply(s, "%s", "-ERR no USER specified"); break; } - strlcpy(s->pass, args, sizeof(s->pass)); + (void)strlcpy(s->pass, args, sizeof(s->pass)); auth_request(s); return; case CMD_QUIT: