Changeset 534 for trunk/zoo-project/zoo-kernel
- Timestamp:
- Nov 10, 2014, 12:44:55 PM (10 years ago)
- Location:
- trunk/zoo-project/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/ZOOMakefile.opts.in
r527 r534 58 58 JAVA_FILE=@JAVA_FILE@ 59 59 60 CFLAGS=@DEB_DEF@ -fpic ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF61 LDFLAGS=-lcurl -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS} ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} -lfcgi -lcrypto ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${YAML_LDFLAGS}62 63 60 PHPCFLAGS=@PHP_CPPFLAGS@ 64 61 PHPLDFLAGS=@PHP_LDFLAGS@ … … 71 68 PERL_ENABLED=@PERL_ENABLED@ 72 69 PERL_FILE=@PERL_FILE@ 70 71 CFLAGS=@DEB_DEF@ -fpic ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF 72 LDFLAGS=-lcurl -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS} ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} -lfcgi -lcrypto ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${MACOS_LD_NET_FLAGS} ${YAML_LDFLAGS} 73 -
trunk/zoo-project/zoo-kernel/ulinet.c
r509 r534 180 180 fclose(handle.file); 181 181 unlink(handle.filename); 182 handle.mimeType = NULL;183 182 } 184 183 else{ 185 184 handle.pabyData = NULL; 186 handle.mimeType = NULL;187 185 handle.nDataAlloc = handle.nDataLen = 0; 188 186 } … … 192 190 } 193 191 free(handle.mimeType); 192 handle.mimeType = NULL; 194 193 } 195 194 if(handle0->handle) … … 298 297 }while(still_running); 299 298 for(i=0;i<hInternet->nb;i++){ 300 curl_easy_getinfo(hInternet->ihandle[i].handle,CURLINFO_CONTENT_TYPE,&hInternet->ihandle[i].mimeType); 299 char *tmp; 300 curl_easy_getinfo(hInternet->ihandle[i].handle,CURLINFO_CONTENT_TYPE,&tmp); 301 hInternet->ihandle[i].mimeType=strdup(tmp); 301 302 curl_multi_remove_handle(hInternet->handle, hInternet->ihandle[i].handle); 302 303 curl_easy_cleanup(hInternet->ihandle[i].handle);
Note: See TracChangeset
for help on using the changeset viewer.