diff options
Diffstat (limited to 'daemon/mutatorclient.c')
-rw-r--r-- | daemon/mutatorclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/mutatorclient.c b/daemon/mutatorclient.c index d65eef5..2b61d96 100644 --- a/daemon/mutatorclient.c +++ b/daemon/mutatorclient.c @@ -56,6 +56,7 @@ int main(int argc, char *argv[]) server.sin_addr.s_addr = inet_addr("127.0.0.1"); server.sin_family = AF_INET; server.sin_port = htons(8888); + memset(server.sin_zero, 0, 8); /*connect to remote server*/ if (connect(sock, (struct sockaddr*)&server, sizeof(server)) < 0) |