Changeset 214 for trunk/zoo-kernel/zoo_service_loader.c
- Timestamp:
- May 25, 2011, 2:54:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/zoo_service_loader.c
r127 r214 511 511 n = printGetCapabilitiesHeader(doc,"",m); 512 512 /** 513 * Strange, here we need to close stdout to ensure that no uneeded514 * char will be printed (parser issue ?)513 * Here we need to close stdout to ensure that not supported chars 514 * has been found in the zcfg and then printed on stdout 515 515 */ 516 516 int saved_stdout = dup(fileno(stdout)); … … 921 921 addToMap(tmpmaps->content,tmpn1,tmpv1+1); 922 922 else{ 923 if(strncasecmp(tmpv1+1,"http://",7)!=0 && 924 strncasecmp(tmpv1+1,"ftp://",6)!=0){ 925 char emsg[1024]; 926 sprintf(emsg,_("Unable to find a valid protocol to download the remote file %s"),tmpv1+1); 927 errorException(m,emsg,"InternalError"); 928 freeMaps(&m); 929 free(m); 930 free(REQUEST); 931 free(SERVICE_URL); 932 InternetCloseHandle(hInternet); 933 freeService(&s1); 934 free(s1); 935 return 0; 936 } 923 937 #ifdef DEBUG 924 938 fprintf(stderr,"REQUIRE TO DOWNLOAD A FILE FROM A SERVER : url(%s)\n",tmpv1+1);
Note: See TracChangeset
for help on using the changeset viewer.