From 5377065b1a51587baeac527f64cbd51a6aa8526a Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 3 Mar 2005 16:58:03 -0500 Subject: BUG: Comp sci 101. Strings go away at the end of the function --- Utilities/cmxmlrpc/xmlrpc_curl_transport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c index 795aefa..36393e1 100644 --- a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c +++ b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c @@ -281,8 +281,8 @@ setupCurlSession(xmlrpc_env * const envP, xmlrpc_mem_block * const callXmlP, xmlrpc_mem_block * const responseXmlP) { - char proxy[1024]; - char proxyUser[1024]; + static char proxy[1024]; + static proxyUser[1024]; int proxy_type = 0; if ( getenv("HTTP_PROXY") ) -- cgit v0.12