command.c:771:2: warning: Value stored to 'ret' is never read
ret = -E_BAD_USER;
^ ~~~~~~~~~~~
command.c:765:2: warning: Value stored to 'numbytes' is never read
numbytes = ret;
^ ~~~
ret = -E_AUTH_REQUEST;
goto net_err;
}
- numbytes = ret;
ret = -E_AUTH_REQUEST;
if (strncmp(buf, AUTH_REQUEST_MSG, strlen(AUTH_REQUEST_MSG)))
goto net_err;
p = buf + strlen(AUTH_REQUEST_MSG);
PARA_DEBUG_LOG("received auth request for user %s\n", p);
- ret = -E_BAD_USER;
u = lookup_user(p);
if (u) {
get_random_bytes_or_die(rand_buf, sizeof(rand_buf));