diff options
author | snowdrop | 2005-05-27 19:28:04 +0000 |
---|---|---|
committer | snowdrop | 2005-05-27 19:28:04 +0000 |
commit | 232ff6e28d1fce08472a2f7a965d83d3e008d84c (patch) | |
tree | dcad585d5cb9e1bd6cbd99ad38aa3d32d257b25c /wsdl2c | |
parent | 3cb6ed195c1c2a3e45014e31f2d923eabd88829f (diff) | |
download | csoap-232ff6e28d1fce08472a2f7a965d83d3e008d84c.tar.gz csoap-232ff6e28d1fce08472a2f7a965d83d3e008d84c.tar.bz2 |
patch from mailinglist
Diffstat (limited to 'wsdl2c')
-rwxr-xr-x | wsdl2c/wsdl2c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wsdl2c/wsdl2c.c b/wsdl2c/wsdl2c.c index 55a2e71..23dac48 100755 --- a/wsdl2c/wsdl2c.c +++ b/wsdl2c/wsdl2c.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: wsdl2c.c,v 1.8 2004/10/15 13:34:47 snowdrop Exp $ + * $Id: wsdl2c.c,v 1.9 2005/05/27 19:28:16 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -135,7 +135,7 @@ xmlNodePtr findPortType(xmlDocPtr doc, const char *name) root = xmlDocGetRootElement(doc); if (root == NULL) { fprintf(stderr, "Empty document!\n"); - return; + return NULL; } cur = root->xmlChildrenNode; @@ -180,7 +180,7 @@ xmlNodePtr findMessage(xmlDocPtr doc, const char *name) root = xmlDocGetRootElement(doc); if (root == NULL) { fprintf(stderr, "Empty document!\n"); - return; + return NULL; } cur = root->xmlChildrenNode; |