You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by pr...@apache.org on 2006/01/12 11:55:01 UTC
svn commit: r368338 -
/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp
Author: prestonf
Date: Thu Jan 12 02:54:57 2006
New Revision: 368338
URL: http://svn.apache.org/viewcvs?rev=368338&view=rev
Log:
Remove warnings in Unit Test client code.
Modified:
webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp?rev=368338&r1=368337&r2=368338&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp Thu Jan 12 02:54:57 2006
@@ -31,7 +31,6 @@
const char* url="http://localhost:80/axis/Calculator";
const char* op = 0;
int i1=0, i2=0;
- int iResult;
signal(SIGILL, sig_handler);
signal(SIGABRT, sig_handler);
@@ -117,7 +116,7 @@
}
catch(exception& e)
{
- cout << "Unknown exception has occured" << endl;
+ cout << "Unknown exception has occured : " << e.what() << endl;
}
catch(...)
{
@@ -175,7 +174,7 @@
bool IsNumber(const char* p)
{
- for (int x=0; x < strlen(p); x++)
+ for (int x=0; x < (int) strlen(p); x++)
{
if (!isdigit(p[x])) return false;
}