Changeset 19 for trunk/zoo-kernel
- Timestamp:
- Sep 16, 2010, 10:03:23 PM (14 years ago)
- Location:
- trunk/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/zoo_loader.c
r10 r19 102 102 #endif 103 103 104 /**105 * Read the main configuration file106 if(!isStarted){107 maps* m;108 m=(maps*)malloc(sizeof(maps*));109 conf_read("main.cfg",m);110 #ifdef REAL_FCGI111 #ifdef DEBUG112 printf("ok passed");113 #endif114 #endif115 isStarted=TRUE;116 }117 */118 119 104 #ifdef DEBUG 120 105 fprintf (stderr, "Addr:%s\n", cgiRemoteAddr); … … 132 117 }else{ 133 118 /* Here we have to return an error message ... */ 134 fprintf(stderr, "Unable to read cgi content in zoo_loader.c line %i\n", __LINE__); 119 fprintf(stderr, "Unable to read cgi content in zoo_loader.c line %i\n", __LINE__); 135 120 return 1; 136 121 } … … 164 149 * one. 165 150 */ 166 fprintf(stderr,"%i %i",tmpMap->value[0],'<');167 151 if(strncasecmp(cgiRequestMethod,"post",4)==0 || 168 152 (count(tmpMap)==1 && strncmp(tmpMap->value,"<",1)==0)){ … … 171 155 * (which should be always available in GET params so in cgiQueryString) 172 156 */ 173 //char *saveptr1, *saveptr2; 174 char *str1/*, str2, *token, *subtoken*/; 157 char *str1; 175 158 str1=cgiQueryString; 176 159 /** -
trunk/zoo-kernel/zoo_service_loader.c
r14 r19 173 173 freeMaps(&m); 174 174 free(m); 175 freeMap(&request_inputs);176 free(request_inputs);177 175 return 1; 178 176 } … … 185 183 freeMaps(&m); 186 184 free(m); 187 freeMap(&request_inputs);188 free(request_inputs);189 185 free(REQUEST); 190 186 return 1;
Note: See TracChangeset
for help on using the changeset viewer.