Changeset 253 in Main for trunk/Server/config.c
- Timestamp:
- Oct 4, 2024, 12:13:36 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/config.c
r240 r253 132 132 int ifbr = 0; 133 133 int ignore = -1; 134 int portcount; 134 135 FILE* f; 135 136 cm_log("Config", "Reading %s", path); … … 488 489 free(line); 489 490 fclose(f); 490 return stop; 491 for(portcount = 0; config.ports[portcount] != -1; portcount++); 492 if(portcount == 0){ 493 return 1; 494 }else{ 495 return stop; 496 } 491 497 } else { 492 498 cm_log("Config", "Could not open the file");
Note:
See TracChangeset
for help on using the changeset viewer.