diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-03 21:58:03 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-03 21:58:03 (GMT) |
commit | 5377065b1a51587baeac527f64cbd51a6aa8526a (patch) | |
tree | 80d114954b7d9490d139ccef3d882c8953cb5d9d /Utilities | |
parent | 2444cd382847d0065233c8cedd7fe921babfe3c9 (diff) | |
download | CMake-5377065b1a51587baeac527f64cbd51a6aa8526a.zip CMake-5377065b1a51587baeac527f64cbd51a6aa8526a.tar.gz CMake-5377065b1a51587baeac527f64cbd51a6aa8526a.tar.bz2 |
BUG: Comp sci 101. Strings go away at the end of the function
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmxmlrpc/xmlrpc_curl_transport.c | 4 |
1 files 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") ) |