SOURCES: dynix-protocol.patch - pass HTTP/1.0 header

glen glen at pld-linux.org
Wed Oct 25 08:49:06 CEST 2006


Author: glen                         Date: Wed Oct 25 06:49:06 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- pass HTTP/1.0 header

---- Files affected:
SOURCES:
   dynix-protocol.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/dynix-protocol.patch
diff -u SOURCES/dynix-protocol.patch:1.1 SOURCES/dynix-protocol.patch:1.2
--- SOURCES/dynix-protocol.patch:1.1	Wed Oct 25 08:44:07 2006
+++ SOURCES/dynix-protocol.patch	Wed Oct 25 08:49:01 2006
@@ -1,11 +1,11 @@
---- dynix-0.60/dynix.c~	2006-10-25 09:40:08.000000000 +0300
-+++ dynix-0.60/dynix.c	2006-10-25 09:40:50.000000000 +0300
+--- dynix-0.60/dynix.c	2006-10-25 09:40:50.000000000 +0300
++++ dynix-0.60/dynix.c	2006-10-25 09:45:03.000000000 +0300
 @@ -386,7 +386,7 @@
        strncpy(pass,getpass("Enter password: "),LEN);
       }
      }
 -     snprintf(out,LENLEN+1,"GET http://%s/dyn/dynengine.cgi?func=%s&name=%s&pass=%s&ip=%s&domain=%s\r\n\n",usedomain,command,name,pass,localip,usedomain);
-+     snprintf(out,LENLEN+1,"GET http://%s/dyn/dynengine.cgi?func=%s&name=%s&pass=%s&ip=%s&domain=%s\r\n\r\n",usedomain,command,name,pass,localip,usedomain);
++     snprintf(out,LENLEN+1,"GET http://%s/dyn/dynengine.cgi?func=%s&name=%s&pass=%s&ip=%s&domain=%s HTTP/1.0\r\n\r\n",usedomain,command,name,pass,localip,usedomain);
      dbgtxt(out);
      dbgtxt("set_del: connecting");
      dbgtxt("Connecting: connect()");
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/dynix-protocol.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list