Changeset 4169
- Timestamp:
- 12/20/10 11:17:50 (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-http.c
r4165 r4169 2276 2276 else if (strcmp(getParam(params, "action"), "Restart") == 0) { 2277 2277 tpl_addVar(vars, 0, "STYLESHEET", CSS); 2278 tpl_printf(vars, 0, "REFRESHTIME", "%d", 10);2278 tpl_printf(vars, 0, "REFRESHTIME", "%d", 2); 2279 2279 tpl_addVar(vars, 0, "REFRESHURL", "status.html"); 2280 2280 tpl_addVar(vars, 0, "REFRESH", tpl_getTpl(vars, "REFRESH")); 2281 tpl_printf(vars, 0, "SECONDS", "%d", 10);2281 tpl_printf(vars, 0, "SECONDS", "%d", 2); 2282 2282 webif_write(tpl_getTpl(vars, "SHUTDOWN"), f); 2283 2283 running = 0; -
trunk/oscam.c
r4167 r4169 469 469 if(cl->fd_m2c) nullclose(&cl->fd_m2c); //Closing client read fd 470 470 471 if (exit_oscam > 0) 472 return; //No more cleanup for faster restart 473 471 474 cs_sleepms(1000); //wait some time before cleanup to prevent segfaults 472 475 NULLFREE(cl->ecmtask);
Note:
See TracChangeset
for help on using the changeset viewer.