You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2004/10/08 14:37:41 UTC
cvs commit: ws-axis/c/src/common AxisConfig.cpp
samisa 2004/10/08 05:37:41
Modified: c/src/common AxisConfig.cpp
Log:
Fixed the error showing garbage for conf file path when it cannot find the config file.
Revision Changes Path
1.52 +3 -1 ws-axis/c/src/common/AxisConfig.cpp
Index: AxisConfig.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/common/AxisConfig.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- AxisConfig.cpp 9 Sep 2004 11:03:22 -0000 1.51
+++ AxisConfig.cpp 8 Oct 2004 12:37:41 -0000 1.52
@@ -17,6 +17,7 @@
*
* @author Damitha Kumarage (damitha@opensource.lk, damitha@jkcsworld.com)
* @author Sanjaya Singharage (sanjayas@opensource.lk, sanjayas@jkcsworld.com)
+ * @author Samisa Abeysinghe (sabeysinghe@virtusa.com)
*
*/
@@ -141,7 +142,7 @@
*/
if (AXIS_SUCCESS != fileConfig.fileOpen (sNewConfPath, "r"))
{
- free (sNewConfPath);
+
#ifdef _DEBUG
printf
@@ -153,6 +154,7 @@
printf ("Warning - The configuration file was not found (%s).\n",
sNewConfPath);
#endif
+ free (sNewConfPath);
return AXIS_SUCCESS;
}