cvs: php4 /ext/pfpro pfpro.c
| From: | John Donagher | Date: | Wed, 02 May 2001 01:08:44 +0000 |
| Subject: | cvs: php4 /ext/pfpro pfpro.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5449@lists.php.net to get a copy of this message | ||
jdonagher Tue May 1 18:08:44 2001 EDT
Modified files:
/php4/ext/pfpro pfpro.c
Log:
- Remove C-style comments
- Remove some stale debugging code
Index: php4/ext/pfpro/pfpro.c
diff -u php4/ext/pfpro/pfpro.c:1.11 php4/ext/pfpro/pfpro.c:1.12
--- php4/ext/pfpro/pfpro.c:1.11 Mon Apr 30 22:04:42 2001
+++ php4/ext/pfpro/pfpro.c Tue May 1 18:08:44 2001
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pfpro.c,v 1.11 2001/05/01 05:04:42 jdonagher Exp $ */
+/* $Id: pfpro.c,v 1.12 2001/05/02 01:08:44 jdonagher Exp $ */
/* {{{ includes */
#include "php.h"
@@ -260,17 +260,6 @@
freeaddress = 1;
}
-#if 0
- printf("Address: >%s<\n", address);
- printf("Port: >%d<\n", port);
- printf("Parmlist: >%s<\n", parmlist);
- printf("Timeout: >%d<\n", timeout);
- printf("Proxy address: >%s<\n", proxyAddress);
- printf("Proxy port: >%d<\n", proxyPort);
- printf("Proxy logon: >%s<\n", proxyLogon);
- printf("Proxy password: >%s<\n", proxyPassword);
-#endif
-
#if PFPRO_VERSION < 3
/* Blank the response buffer */
memset(response, 0, sizeof(response));
@@ -290,7 +279,6 @@
#else
pfproCreateContext(&context, address, port, timeout, proxyAddress, proxyPort, proxyLogon,
proxyPassword);
pfproSubmitTransaction(context, parmlist, strlen(parmlist), &response);
- //pfproCompleteTransaction(response);
pfproDestroyContext(context);
#endif
@@ -396,7 +384,7 @@
address = (*args[1])->value.str.val;
}
- /* Concatenate the passed array as specified by signio.
+ /* Concatenate the passed array as specified by Verisign.
Basically it's all key=value&key=value, the only exception
being if the value contains = or &, in which case we also
encode the length, e.g. key[5]=bl&ah */
@@ -505,17 +493,6 @@
freeaddress = 1;
}
-#if 0
- printf("Address: >%s<\n", address);
- printf("Port: >%d<\n", port);
- printf("Parmlist: >%s<\n", parmlist);
- printf("Timeout: >%d<\n", timeout);
- printf("Proxy address: >%s<\n", proxyAddress);
- printf("Proxy port: >%d<\n", proxyPort);
- printf("Proxy logon: >%s<\n", proxyLogon);
- printf("Proxy password: >%s<\n", proxyPassword);
-#endif
-
/* Allocate the array for the response now - so we catch any errors
from this BEFORE we knock it off to the bank */
@@ -543,7 +520,6 @@
#else
pfproCreateContext(&context, address, port, timeout, proxyAddress, proxyPort, proxyLogon,
proxyPassword);
pfproSubmitTransaction(context, parmlist, strlen(parmlist), &response);
- //pfproCompleteTransaction(response);
pfproDestroyContext(context);
#endif