Changeset 3798 for trunk/oscam-log.c
- Timestamp:
- 11/01/10 16:32:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-log.c
r3760 r3798 168 168 ptr[0]='\1'; // make username unusable 169 169 ptr[1]='\0'; 170 170 171 if ((cur_client()->typ=='c') || (cur_client()->typ=='m')) 171 172 cs_strncpy(ptr, cur_client()->usr, 31); 173 else if ((cur_client()->typ=='p') || (cur_client()->typ=='r')) 174 cs_strncpy(ptr, cur_client()->reader->label, 31); 175 else 176 cs_strncpy(ptr, "server", 31); 177 172 178 cs_strncpy(ptr+32, log_buf, CS_LOGHISTSIZE-33); 173 179 loghistidx=(++loghistidx < CS_MAXLOGHIST)?loghistidx:0;
Note:
See TracChangeset
for help on using the changeset viewer.