]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - command.c
command: Remove two dead stores.
[paraslash.git] / command.c
index 69bbbb74dd2831791e0f24378d7a4c4451bb6524..74d82697dd241c8c435bf2f78d0052a1b5df9b10 100644 (file)
--- a/command.c
+++ b/command.c
@@ -762,13 +762,11 @@ __noreturn void handle_connect(int fd, const char *peername)
                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));