You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
--- a/sockets.c
|
|
|
|
+++ b/sockets.c
|
|
|
|
@@ -188,7 +188,7 @@
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
if (ipbuf)
|
|
|
|
- memcpy(retbuf, &sa.sin_addr, 4);
|
|
|
|
+ memcpy(ipbuf, &sa.sin_addr, 4);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
return sock;
|