Changeset 19184 for trunk/FACT++/dim/src/webDid
- Timestamp:
- 08/19/18 17:51:19 (6 years ago)
- Location:
- trunk/FACT++/dim/src/webDid
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/dim/src/webDid/webDid.c
r18920 r19184 243 243 int n_found = 0; 244 244 char *ptr, str[256], *sptr, *sformat, *stype; 245 int type, index; 245 int type; 246 // int index; 246 247 char *addJSONChildStart(); 247 248 char *addJSONChildEnd(); … … 293 294 sformat = (char *)sptr + strlen((const char *)sptr) + 1; 294 295 stype = (char *)sformat + strlen((const char *)sformat) + 1; 295 if (*stype = '\n')296 if (*stype == '\n') 296 297 type = 0; 297 298 else if (*stype == 'C') … … 562 563 SERVER *servp; 563 564 DNS_SERVICE_INFO *servicep; 564 int i, j, n_services, index = 0, type; 565 char *ptr, *ptre, *ptr1, tmp[MAX_NAME], *sptr; 565 int i, n_services, index = 0; 566 char *ptr, *ptre, *ptr1; 567 // char tmp[MAX_NAME], *sptr; 568 // int j, type; 566 569 567 570 if(size){} … … 873 876 { 874 877 BROWSER *browserp; 878 int delete_browser(); 875 879 876 880 if ((browserp = find_browser(browser))) … … 878 882 return 1; 879 883 } 884 880 885 int delete_browser(BROWSER *browserp) 881 886 { 882 SERVICE *servicep;883 int i;887 // SERVICE *servicep; 888 int release_all_requests(); 884 889 885 890 release_all_requests(browserp); … … 1069 1074 REQUEST_PTR *find_request(SERVICE* servicep, int conn_id) 1070 1075 { 1071 REQUEST_PTR *reqpp;1076 // REQUEST_PTR *reqpp; 1072 1077 REQUEST *reqp; 1073 1078 … … 1093 1098 extern void sendData(); 1094 1099 BROWSER *browserp; 1095 int i;1100 // int i; 1096 1101 REQUEST *reqp; 1097 1102 REQUEST_PTR *reqpp; … … 1308 1313 // if ((*size == 4) && (*buffer == -1)) 1309 1314 servicep->is_nolink = 0; 1310 if ((*size == strlen(no_link_str)) && (!memcmp(buffer, no_link_str, strlen(no_link_str))))1315 if ((*size == (int)strlen(no_link_str)) && (!memcmp(buffer, no_link_str, strlen(no_link_str)))) 1311 1316 { 1312 1317 servicep->is_nolink = 1; … … 2298 2303 NODE *nodep; 2299 2304 SERVER *servp; 2300 char str[256] , aux[128];2305 char str[256]; 2301 2306 int selective = 0; 2302 int n_nodes,tot_n_nodes;2307 int tot_n_nodes; 2303 2308 int n_servers, tot_n_servers; 2304 2309 int ret, n_found = 0; -
trunk/FACT++/dim/src/webDid/webServer.c
r18920 r19184 326 326 char datatype[128]; 327 327 char *conv_buffer; 328 int conv_size = 0;329 328 char nolink[MAX_NAME]; 330 329 int nolinksize;
Note:
See TracChangeset
for help on using the changeset viewer.