Changeset 2028 for trunk/oscam-http.c
- Timestamp:
- 04/08/10 23:32:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-http.c
r2027 r2028 1245 1245 char *debuglvl = getParam(params, "debug"); 1246 1246 if(strlen(debuglvl) > 0) { 1247 cfg->debuglvl = atoi(debuglvl); 1248 kill(client[0].pid, SIGUSR1); 1247 int lvl = atoi(debuglvl); 1248 if (cfg->debuglvl != lvl) { 1249 cfg->debuglvl = lvl; 1250 kill(client[0].pid, SIGUSR1); 1251 } 1249 1252 } 1250 1253 … … 1620 1623 char *debuglvl = getParam(params, "debug"); 1621 1624 if(strlen(debuglvl) > 0) { 1622 cfg->debuglvl = atoi(debuglvl); 1623 kill(client[0].pid, SIGUSR1); 1625 int lvl = atoi(debuglvl); 1626 if (cfg->debuglvl != lvl) { 1627 cfg->debuglvl = lvl; 1628 kill(client[0].pid, SIGUSR1); 1629 } 1624 1630 } 1625 1631 char targetfile[256];
Note:
See TracChangeset
for help on using the changeset viewer.