Changeset 1108
- Timestamp:
- 01/07/10 03:12:24 (14 years ago)
- Location:
- branches/monitor-improvement
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/monitor-improvement/oscam-config.c
r1105 r1108 915 915 fprintf_conf(f, CONFVARWIDTH, "usrfile", "%s\n", cfg->usrfile); 916 916 fprintf_conf(f, CONFVARWIDTH, "cwlogdir", "%s\n", cfg->cwlogdir); 917 fprintf_conf(f, CONFVARWIDTH, "clienttimeout", "%ld\n", cfg->ctimeout );918 fprintf_conf(f, CONFVARWIDTH, "fallbacktimeout", "%ld\n", cfg->ftimeout );917 fprintf_conf(f, CONFVARWIDTH, "clienttimeout", "%ld\n", cfg->ctimeout/1000); 918 fprintf_conf(f, CONFVARWIDTH, "fallbacktimeout", "%ld\n", cfg->ftimeout/1000); 919 919 fprintf_conf(f, CONFVARWIDTH, "clientmaxidle", "%d\n", cfg->cmaxidle); 920 fprintf_conf(f, CONFVARWIDTH, "cachedelay", "%ld\n", cfg->delay );920 fprintf_conf(f, CONFVARWIDTH, "cachedelay", "%ld\n", cfg->delay/1000); 921 921 fprintf_conf(f, CONFVARWIDTH, "bindwait", "%d\n", cfg->bindwait); 922 922 fprintf_conf(f, CONFVARWIDTH, "netprio", "%ld\n", cfg->netprio); -
branches/monitor-improvement/oscam-http.c
r1106 r1108 74 74 tpl_addVar(vars, 0, "USERFILE", cfg->usrfile); 75 75 tpl_addVar(vars, 0, "CWLOGDIR", cfg->cwlogdir); 76 tpl_printf(vars, 0, "CLIENTTIMEOUT", "%ld", cfg->ctimeout );77 tpl_printf(vars, 0, "FALLBACKTIMEOUT", "%ld", cfg->ftimeout );76 tpl_printf(vars, 0, "CLIENTTIMEOUT", "%ld", cfg->ctimeout/1000); 77 tpl_printf(vars, 0, "FALLBACKTIMEOUT", "%ld", cfg->ftimeout/1000); 78 78 tpl_printf(vars, 0, "CLIENTMAXIDLE", "%d", cfg->cmaxidle); 79 tpl_printf(vars, 0, "CACHEDELAY", "%ld", cfg->delay );79 tpl_printf(vars, 0, "CACHEDELAY", "%ld", cfg->delay/1000); 80 80 tpl_printf(vars, 0, "BINDWAIT", "%d", cfg->bindwait); 81 81 tpl_printf(vars, 0, "NETPRIO", "%ld", cfg->netprio);
Note:
See TracChangeset
for help on using the changeset viewer.