diff options
author | bloodstalker <thabogre@gmail.com> | 2017-03-11 17:57:30 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-03-11 17:57:30 +0000 |
commit | 7273d3846898dbf867e251a5e94a52e20a71b78e (patch) | |
tree | 48bd99eb785549b2efdef4a6d17e6a59523780cf /daemon/mutatorclient.c | |
parent | fixing some issues (diff) | |
download | mutator-7273d3846898dbf867e251a5e94a52e20a71b78e.tar.gz mutator-7273d3846898dbf867e251a5e94a52e20a71b78e.zip |
fixing issues
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) |