Changeset 3457 for trunk/oscam-log.c
- Timestamp:
- 10/10/10 21:14:50 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-log.c
r3445 r3457 114 114 { 115 115 if(m) { 116 sprintf(txt, "%c %08lX ", cur_client()->typ, (unsigned long) pthread_self()); 116 switch (cur_client()->typ) { 117 case 'r': 118 case 'c': 119 case 'p': 120 sprintf(txt, "%c %8d ", cur_client()->typ, get_threadnum(cur_client())); 121 break; 122 default: 123 sprintf(txt, "%c ", cur_client()->typ); 124 break; 125 } 117 126 } else 118 127 sprintf(txt, "%-11.11s", ""); … … 197 206 void cs_close_log(void) 198 207 { 199 cs_log("LOG CLOSED");200 208 if (use_stdout || use_syslog || !fp) return; 201 209 fclose(fp);
Note:
See TracChangeset
for help on using the changeset viewer.