Changeset 1066
- Timestamp:
- 01/04/10 21:32:18 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/monitor-improvement/oscam-http.c
r1065 r1066 814 814 if (client[i].pid) { 815 815 816 if((cfg->http_hide_idle_clients == 1) && (client[i].typ == 'c') && ((now - client[i].lastecm) > 30)) continue;817 818 if ((cfg->mon_hideclient_to <= 0) || (((now-client[i].lastecm)/60)<cfg->mon_hideclient_to) ||819 (((now-client[i].lastemm)/60)<cfg->mon_hideclient_to) || (client[i].typ!='c')){ 816 if((cfg->http_hide_idle_clients == 1) && (client[i].typ == 'c') && ((now - client[i].lastecm) > cfg->mon_hideclient_to)) continue; 817 818 /*if ((cfg->mon_hideclient_to <= 0) || (((now-client[i].lastecm)/60)<cfg->mon_hideclient_to) || 819 (((now-client[i].lastemm)/60)<cfg->mon_hideclient_to) || (client[i].typ!='c')){*/ 820 820 lsec=now-client[i].login; 821 821 isec=now-client[i].last; … … 855 855 tpl_printf(vars, 0, "CWNOK", "%d", client[i].cwnot); 856 856 tpl_addVar(vars, 1, "CLIENTSTATUS", tpl_getTpl(vars, "CLIENTSTATUSBIT")); 857 }857 //} 858 858 } 859 859 }
Note:
See TracChangeset
for help on using the changeset viewer.