Changeset 3483 for trunk/module-monitor.c
- Timestamp:
- 10/11/10 14:43:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-monitor.c
r3481 r3483 6 6 # define CS_VERSION_X CS_VERSION 7 7 #endif 8 extern struct s_reader *reader;8 extern struct s_reader reader[CS_MAXREADER]; 9 9 10 10 static void monitor_check_ip() … … 508 508 #ifdef CS_LOGHISTORY 509 509 if (!strcmp(flag, "on")){ 510 for (i = ( *loghistidx + 3) % CS_MAXLOGHIST; i != *loghistidx; i = (i + 1) % CS_MAXLOGHIST){510 for (i = (loghistidx + 3) % CS_MAXLOGHIST; i != loghistidx; i = (i + 1) % CS_MAXLOGHIST){ 511 511 char *p_usr, *p_txt; 512 512 p_usr=(char *)(loghist+(i*CS_LOGHISTSIZE));
Note:
See TracChangeset
for help on using the changeset viewer.