blob: 8a893d3c0ae7a1706a7ebbe662dd7672f2019571 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- frickin-1.3.orig/src/main.c 2005-05-31 16:51:36.000000000 +0200
+++ frickin-1.3/src/main.c 2010-02-05 19:12:23.654334206 +0100
@@ -259,7 +259,7 @@ int _connect_to_server()
{
SIN sin;
- bzero(&sin, sizeof(SIN));
+ memset(&sin, 0, sizeof(SIN));
sin.sin_family = AF_INET;
sin.sin_port = htons(PPTP_PORT);
sin.sin_addr.s_addr = inet_addr(g_target_ip);
@@ -713,7 +713,7 @@ int main(int argc, char **argv)
{
SIN sin;
- bzero(&sin, sizeof(SIN));
+ memset(&sin, 0, sizeof(SIN));
sin.sin_family = AF_INET;
sin.sin_port = htons(PPTP_PORT);
sin.sin_addr.s_addr = inet_addr(g_listen_ip);
|