Changeset 677 for branches/PublicaMundi_David_integration_01-devel/zoo-project/zoo-kernel/zoo_loader.c
- Timestamp:
- Jun 19, 2015, 4:02:34 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PublicaMundi_David_integration_01-devel/zoo-project/zoo-kernel/zoo_loader.c
r658 r677 38 38 #include "service_internal.h" 39 39 #include "response_print.h" 40 40 #include "zoo_zcfg.h" 41 41 42 42 #ifdef WIN32 … … 89 89 fflush(stderr); 90 90 #endif 91 91 92 93 init_services_conf ("/var/www/zoo-wps/cgi-bin","/var/www/zoo-wps/registry/"); 94 95 92 96 char *strQuery=NULL; 93 97 if(cgiQueryString!=NULL) … … 115 119 } 116 120 delete[] buffer; 117 if(res==NULL && (strQuery==NULL || strlen(strQuery)==0)){ 118 return errorException(NULL,"ZOO-Kernel failed to process your request because the request was empty.","InternalError",NULL); 119 }else{ 120 if(strQuery==NULL || strlen(strQuery)==0) 121 tmpMap=createMap("request",res); 122 } 121 if(res!=NULL && (strQuery==NULL || strlen(strQuery)==0)) 122 tmpMap=createMap("request",res); 123 123 if(res!=NULL) 124 124 free(res);
Note: See TracChangeset
for help on using the changeset viewer.