Changeset 5065 for trunk/oscam.c
- Timestamp:
- 04/20/11 23:16:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam.c
r5052 r5065 42 42 43 43 struct s_config cfg; 44 #ifdef CS_LOGHISTORY 45 int32_t loghistidx; // ptr to current entry 46 char loghist[CS_MAXLOGHIST*CS_LOGHISTSIZE]; // ptr of log-history 47 #endif 44 45 char *loghist = NULL; // ptr of log-history 46 char *loghistptr = NULL; 48 47 49 48 int32_t get_threadnum(struct s_client *client) { … … 899 898 } 900 899 901 902 900 pthread_mutex_init(&gethostbyname_lock, NULL); 903 901 pthread_mutex_init(&get_cw_lock, NULL); 904 902 pthread_mutex_init(&system_lock, NULL); 905 906 #ifdef CS_LOGHISTORY907 loghistidx=0;908 memset(loghist, 0, CS_MAXLOGHIST*CS_LOGHISTSIZE);909 #endif910 903 911 904 #ifdef COOL … … 3057 3050 else 3058 3051 cs_strncpy((char *)buf, "unlimited", sizeof(buf)); 3059 cs_log("max. logsize=%s ", buf);3052 cs_log("max. logsize=%s, loghistorysize=%d bytes", buf, cfg.loghistorysize); 3060 3053 cs_log("client timeout=%lu ms, fallback timeout=%lu ms, cache delay=%d ms", 3061 3054 cfg.ctimeout, cfg.ftimeout, cfg.delay); … … 3451 3444 cardreader_def[i](&cardreader[i]); 3452 3445 } 3453 3454 3455 cs_log("auth size=%d", sizeof(struct s_auth));3456 3446 3457 3447 init_rnd();
Note:
See TracChangeset
for help on using the changeset viewer.