1
0

patch-src_main_c 616 B

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