- Timestamp:
- 05/25/11 00:03:11 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-lcd.c
r5283 r5285 15 15 #include "module-stat.h" 16 16 17 int running;17 int8_t running; 18 18 19 19 void refresh_lcd_file() { 20 20 21 int cnt = 0, idx = 0, count_r = 0, count_p = 0, count_u = 0;21 int16_t cnt = 0, idx = 0, count_r = 0, count_p = 0, count_u = 0; 22 22 char targetfile[256]; 23 23 snprintf(targetfile, sizeof(targetfile),"%s%s", get_tmp_dir(), "/oscam.lcd"); … … 48 48 49 49 idx = 0; 50 int i;50 int16_t i; 51 51 struct s_client *cl; 52 52 for ( i=0, cl=first_client; cl ; cl=cl->next, i++) { 53 53 if (cl->typ=='c'){ 54 54 count_u++; 55 fprintf(fpsave,"user%d: %s - %04X:%04X [%d]\n", 56 idx, cl->account->usr, cl->last_caid, 57 cl->last_srvid, cl->cwlastresptime); 55 get_servicename(cl, cl->last_srvid, cl->last_caid); 56 fprintf(fpsave,"user%d: %s - %s:%s [%d]\n", 57 idx, 58 cl->account->usr, 59 cl->last_srvidptr && cl->last_srvidptr->prov ? cl->last_srvidptr->prov : "", 60 cl->last_srvidptr && cl->last_srvidptr->name ? cl->last_srvidptr->name : "", 61 cl->cwlastresptime); 58 62 59 63
Note:
See TracChangeset
for help on using the changeset viewer.