- Timestamp:
- Jan 15, 2013, 4:08:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r390 r391 2107 2107 int hasValidCookie=-1; 2108 2108 char *tcook=strdup(cgiCookie); 2109 if(strstr(cgiCookie,";") >0){2109 if(strstr(cgiCookie,";")!=NULL){ 2110 2110 char *token,*saveptr; 2111 2111 token=strtok_r(cgiCookie,";",&saveptr); … … 2118 2118 } 2119 2119 token=strtok_r(NULL,";",&saveptr); 2120 } 2121 }else{ 2122 if(strstr(cgiCookie,"=")!=NULL && strcasestr(cgiCookie,"ID")!=NULL){ 2123 tcook=strdup(cgiCookie); 2124 hasValidCookie=1; 2120 2125 } 2121 2126 }
Note: See TracChangeset
for help on using the changeset viewer.