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 sa...@apache.org on 2005/02/14 08:45:53 UTC
cvs commit: ws-axis/c/src/cbindings IAttributeC.cpp
samisa 2005/02/13 23:45:53
Modified: c/src/cbindings IAttributeC.cpp
Log:
Used if (!pointer_name) in place of if(NULL==pointer_name) to avoid compiling problems.
Revision Changes Path
1.4 +4 -4 ws-axis/c/src/cbindings/IAttributeC.cpp
Index: IAttributeC.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/cbindings/IAttributeC.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- IAttributeC.cpp 11 Feb 2005 18:45:33 -0000 1.3
+++ IAttributeC.cpp 14 Feb 2005 07:45:53 -0000 1.4
@@ -27,7 +27,7 @@
}
AXISC_STORAGE_CLASS_INFO int axiscSetValueIAttribute(AXISCHANDLE attribute, const AxiscChar * value) {
- if(NULL==value)
+ if(!value)
{
return AXIS_FAIL;
}
@@ -38,7 +38,7 @@
}
AXISC_STORAGE_CLASS_INFO int axiscSetUriIAttribute(AXISCHANDLE attribute, const AxiscChar * uri) {
- if(NULL==uri)
+ if(!uri)
{
return AXIS_FAIL;
}
@@ -49,7 +49,7 @@
AXISC_STORAGE_CLASS_INFO int axiscSetPrefixIAttribute(AXISCHANDLE attribute, const AxiscChar * prefix) {
- if(NULL==prefix)
+ if(!prefix)
{
return AXIS_FAIL;
}
@@ -60,7 +60,7 @@
}
AXISC_STORAGE_CLASS_INFO int axiscSetLocalNameIAttribute(AXISCHANDLE attribute, const AxiscChar * localname) {
- if(NULL==localname)
+ if(!localname)
{
return AXIS_FAIL;
}