Changeset 3104
- Timestamp:
- 09/20/10 15:19:43 (14 years ago)
- Location:
- branches/threaded
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/threaded/globals.h
r3100 r3104 1149 1149 extern struct s_acasc_shm *acasc; 1150 1150 extern FILE *fpa; 1151 extern int use_ac_log;1152 1151 #endif 1153 1152 extern pthread_mutex_t gethostbyname_lock; -
branches/threaded/oscam-log.c
r2715 r3104 16 16 #ifdef CS_ANTICASC 17 17 FILE *fpa=(FILE *)0; 18 int use_ac_log=0;19 18 #endif 20 19 … … 52 51 { 53 52 #ifdef CS_ANTICASC 54 if( use_ac_log&& fpa ) {53 if( client[cs_idx].typ == "a" && fpa ) { 55 54 switch_log(cfg->ac_logfile, &fpa, ac_init_log); 56 55 fprintf(fpa, "%s", txt); … … 161 160 162 161 #ifdef CS_ANTICASC 163 if (use_syslog && !use_ac_log) // system-logfile162 if (use_syslog && client[cs_idx].typ != "a") // system-logfile 164 163 #else 165 164 if (use_syslog) // system-logfile -
branches/threaded/oscam.c
r3102 r3104 969 969 void start_anticascader() 970 970 { 971 use_ac_log=1;972 971 set_signal_handler(SIGHUP, 1, ac_init_stat); 973 972
Note:
See TracChangeset
for help on using the changeset viewer.