- Timestamp:
- Jan 9, 2019, 4:11:59 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/request_parser.c
r880 r890 154 154 addToMap(cursor->content,"base64_value",tmp->value); 155 155 int size=0; 156 char *s= strdup(tmp->value);156 char *s=zStrdup(tmp->value); 157 157 free(tmp->value); 158 158 tmp->value=base64d(s,strlen(s),&size); … … 174 174 addToMap(cursor->content,key,tmp->value); 175 175 int size=0; 176 char *s= strdup(tmp->value);176 char *s=zStrdup(tmp->value); 177 177 free(tmp->value); 178 178 tmp->value=base64d(s,strlen(s),&size); … … 795 795 #endif 796 796 bInternet.waitingRequests[0] = 797 strdup ((char *) val);797 zStrdup ((char *) val); 798 798 res1 = 799 799 InternetOpenUrl (&bInternet, … … 1806 1806 #endif 1807 1807 targetFile = 1808 open (storageNameOnServer, O_RDWR | O_CREAT | O_TRUNC,1808 zOpen (storageNameOnServer, O_RDWR | O_CREAT | O_TRUNC, 1809 1809 S_IRWXU | S_IRGRP | S_IROTH); 1810 1810 if (targetFile < 0) … … 1826 1826 addToMap (tmpReqI->content, "lref", storageNameOnServer); 1827 1827 cgiFormFileClose (file); 1828 close (targetFile);1828 zClose (targetFile); 1829 1829 free(fileNameOnServer); 1830 1830 free(storageNameOnServer);
Note: See TracChangeset
for help on using the changeset viewer.