Changeset 695 for trunk/zoo-project
- Timestamp:
- Jun 29, 2015, 2:39:05 PM (9 years ago)
- Location:
- trunk/zoo-project/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/caching.c
r642 r695 277 277 void addRequestToQueue(maps** m,HINTERNET* hInternet,const char* url,bool req){ 278 278 hInternet->waitingRequests[hInternet->nb]=strdup(url); 279 hInternet->ihandle[hInternet->nb].header=NULL;280 279 if(req) 281 280 InternetOpenUrl(hInternet,hInternet->waitingRequests[hInternet->nb],NULL,0,INTERNET_FLAG_NO_CACHE_WRITE,0); -
trunk/zoo-project/zoo-kernel/request_parser.c
r680 r695 638 638 ha[1] = "value"; 639 639 int hai; 640 char *has ;640 char *has=NULL; 641 641 char *key; 642 642 for (hai = 0; hai < 2; hai++) … … 675 675 xmlFree (val); 676 676 } 677 hInternet->ihandle[hInternet->nb].header = NULL;678 hInternet->ihandle[hInternet->nb].header =679 curl_slist_append (hInternet->ihandle680 [hInternet->nb].header,681 has);682 if (has != NULL)677 if (has != NULL){ 678 hInternet->ihandle[hInternet->nb].header = NULL; 679 hInternet->ihandle[hInternet->nb].header = 680 curl_slist_append (hInternet->ihandle 681 [hInternet->nb].header, 682 has); 683 683 free (has); 684 } 684 685 } 685 686 else
Note: See TracChangeset
for help on using the changeset viewer.