packages: varkon/varkon-h_addr-bin.patch (NEW) - commit as binary file

chomar chomar at pld-linux.org
Sat May 29 21:45:42 CEST 2010


Author: chomar                       Date: Sat May 29 19:45:42 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- commit as binary file

---- Files affected:
packages/varkon:
   varkon-h_addr-bin.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/varkon/varkon-h_addr-bin.patch
diff -u /dev/null packages/varkon/varkon-h_addr-bin.patch:1.1
--- /dev/null	Sat May 29 21:45:42 2010
+++ packages/varkon/varkon-h_addr-bin.patch	Sat May 29 21:45:37 2010
@@ -0,0 +1,12 @@
+diff -urN Varkon_1.19D.orig/sources/EX/src/extcp.c Varkon_1.19D/sources/EX/src/extcp.c
+--- Varkon_1.19D.orig/sources/EX/src/extcp.c	2010-05-29 18:46:34.000000000 +0200
++++ Varkon_1.19D/sources/EX/src/extcp.c	2010-05-29 18:47:40.000000000 +0200
+@@ -237,7 +237,7 @@
+    /* Copy the resolved information into the 'sockaddr_in' structure  */
+    /*-----------------------------------------------------------------*/ 
+    memset(&server_addr,0,sizeof(server_addr)); 
+-   memcpy(&(server_addr.sin_addr),hp->h_addr,hp->h_length);
++   memcpy(&(server_addr.sin_addr),hp->h_addr_list[0],hp->h_length);
+    server_addr.sin_family = hp->h_addrtype;
+    server_addr.sin_port = htons((unsigned short)port);
+                           /* Port must be in n.w.byte order */
================================================================


More information about the pld-cvs-commit mailing list