scp_write_nonblock: Value stored to 'ptr' is never read

This commit is contained in:
Daniel Stenberg 2010-04-24 12:56:53 +02:00
parent ee5dd3561d
commit 5804444936

View File

@ -196,7 +196,7 @@ int main(int argc, char *argv[])
sent += rc;
}
} while (rc > 0 && sent < nread);
ptr += sent;
nread -= sent;
} while (1);