client: don't clear client->addr after it's been set
authorJens Axboe <axboe@kernel.dk>
Fri, 7 Oct 2011 11:04:05 +0000 (13:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 7 Oct 2011 11:04:05 +0000 (13:04 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
client.c

index 2d9c0fef21faec39dafd72ca02f9a0201c9b34bb..9caefbb86a6a8d48debbe369de310a832a847185 100644 (file)
--- a/client.c
+++ b/client.c
@@ -217,8 +217,6 @@ static int fio_client_connect(struct fio_client *client)
 
        dprint(FD_NET, "client: connect to host %s\n", client->hostname);
 
 
        dprint(FD_NET, "client: connect to host %s\n", client->hostname);
 
-       memset(&client->addr, 0, sizeof(client->addr));
-
        if (client->is_sock)
                fd = fio_client_connect_sock(client);
        else
        if (client->is_sock)
                fd = fio_client_connect_sock(client);
        else