Changeset 6642
- Timestamp:
- 04/27/12 19:34:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-http.c
r6641 r6642 2366 2366 tpl_printf(vars, TPLADD, "CASCUSERS2", "%d", casc_users2); 2367 2367 tpl_printf(vars, TPLADD, "CASCUSERSCOMB", "%d/%d", casc_users, casc_users2); 2368 tpl_printf(vars, TPLADD, "CLIENTCAID", "%04X", latestclient->last_caid);2369 tpl_printf(vars, TPLADD, "CLIENTSRVID", "%04X", latestclient->last_srvid);2370 2368 2371 2369 if ( isactive > 0 || !cfg.http_hide_idle_clients) { … … 2380 2378 else 2381 2379 tpl_addVar(vars, TPLADDONCE, "CLIENTTIMETOSLEEP", "No sleep defined"); 2380 2381 if(latestclient){ 2382 tpl_printf(vars, TPLADD, "CLIENTCAID", "%04X", latestclient->last_caid); 2383 tpl_printf(vars, TPLADD, "CLIENTSRVID", "%04X", latestclient->last_srvid); 2384 } 2385 2382 2386 } else { 2383 2387 tpl_addVar(vars, TPLADDONCE, "CLIENTTIMEONCHANNEL", ""); 2384 2388 tpl_addVar(vars, TPLADDONCE, "CLIENTTIMETOSLEEP", ""); 2389 tpl_addVar(vars, TPLADD, "CLIENTCAID", ""); 2390 tpl_addVar(vars, TPLADD, "CLIENTSRVID", ""); 2385 2391 } 2386 2392
Note:
See TracChangeset
for help on using the changeset viewer.