Changeset 896 for branches/prototype-v0/zoo-project/zoo-kernel/zoo_loader.c
- Timestamp:
- Feb 25, 2019, 1:57:11 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/zoo_loader.c
r877 r896 123 123 if(res!=NULL) 124 124 free(res); 125 }else{ 125 }else{ 126 126 char *buffer=new char[cgiContentLength+1]; 127 127 if(fread(buffer,sizeof(char),cgiContentLength,cgiIn)>0){ … … 163 163 } 164 164 } 165 else{ 165 else{ 166 166 #ifdef DEBUG 167 167 dumpMap(tmpMap); … … 187 187 cgiStringArrayFree(array); 188 188 } 189 189 190 190 #ifdef WIN32 191 map *tmpReq=getMap(tmpMap,"rfile"); 192 if(tmpReq!=NULL){ 193 FILE *lf=fopen(tmpReq->value,"r"); 191 map *tmpReq=getMap(tmpMap,"rfile"); 192 if(tmpReq!=NULL){ 193 FILE *lf=fopen(tmpReq->value,"r"); 194 194 fseek(lf,0,SEEK_END); 195 195 long flen=ftell(lf); … … 395 395 } 396 396 } 397 397 398 398 if(strncasecmp(cgiContentType,"multipart/form-data",19)==0){ 399 399 map* tmp=getMap(tmpMap,"dataInputs"); … … 408 408 if(strQuery!=NULL) 409 409 free(strQuery); 410 410 411 411 runRequest(&tmpMap); 412 412
Note: See TracChangeset
for help on using the changeset viewer.