Changeset 3313
- Timestamp:
- 09/30/10 12:56:33 (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-log.c
r3195 r3313 184 184 185 185 cs_write_log(log_buf + 8); 186 186 #ifdef CS_LOGHISTORY 187 187 store_logentry(log_buf); 188 188 #endif 189 189 for (i = 0; i < CS_MAXPID; i++) // monitor-clients 190 190 { -
trunk/oscam.c
r3311 r3313 827 827 return result; 828 828 } 829 829 #if defined(CS_ANTICASC) || defined(WEBIF) 830 830 static void start_thread(void * startroutine, char * nameroutine, char typ) { 831 831 int i,o; … … 852 852 } 853 853 } 854 854 #endif 855 855 void kill_thread(int cidx) { 856 856 … … 1235 1235 //cs_ddump(ecmcache[*ecmidx].ecmd5, CS_ECMSTORESIZE, "ECM stored (idx=%d)", *ecmidx); 1236 1236 } 1237 1237 #ifdef CS_LOGHISTORY 1238 1238 void store_logentry(char *txt) 1239 1239 { 1240 #ifdef CS_LOGHISTORY 1240 1241 1241 char *ptr; 1242 1242 ptr=(char *)(loghist+(*loghistidx*CS_LOGHISTSIZE)); … … 1247 1247 cs_strncpy(ptr+32, txt, CS_LOGHISTSIZE-33); 1248 1248 *loghistidx=(*loghistidx+1) % CS_MAXLOGHIST; 1249 #endif 1250 } 1251 1249 1250 } 1251 #endif 1252 1252 // only for debug 1253 1253 int get_thread_by_pipefd(int fd) {
Note:
See TracChangeset
for help on using the changeset viewer.