projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* tcp_sockets.c: changed memcpy() to memset() in tcp_connectsock; this was
[citadel.git]
/
webcit
/
tcp_sockets.c
diff --git
a/webcit/tcp_sockets.c
b/webcit/tcp_sockets.c
index 1c44f661b48649aa2453547ac7dd55f20a8c78ee..9501a79fb9b7ff88e45e064eb98e314fa9c109f0 100644
(file)
--- a/
webcit/tcp_sockets.c
+++ b/
webcit/tcp_sockets.c
@@
-82,7
+82,7
@@
int tcp_connectsock(char *host, char *service)
struct sockaddr_in sin;
int s;
- mem
cpy
(&sin, 0, sizeof(sin));
+ mem
set
(&sin, 0, sizeof(sin));
sin.sin_family = AF_INET;
pse = getservbyname(service, "tcp");