Changeset 16
- Timestamp:
- 07/03/01 20:09:48 (12 years ago)
- Files:
-
- trunk/hash.c (modified) (1 diff)
- trunk/skiplist.c (modified) (1 diff)
- trunk/spreadlogd.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/hash.c
r11 r16 14 14 #include <stdlib.h> 15 15 #include <stdio.h> 16 #include <string.h> 16 17 17 18 #include "hash.h" trunk/skiplist.c
r2 r16 144 144 m = sl->top; 145 145 while(m) { 146 int compared ;146 int compared = 1; 147 147 if(m->next) compared=comp(data, m->next->data); 148 148 if(compared == 0) { trunk/spreadlogd.c
r15 r16 11 11 #include <stdio.h> 12 12 #include <stdlib.h> 13 #include <string.h> 13 14 #include <signal.h> 14 15 #include <unistd.h> … … 19 20 #include "config.h" 20 21 21 #define SPREADLOGD_VERSION "1.4. 1"22 #define SPREADLOGD_VERSION "1.4.2" 22 23 23 24 extern char *optarg; … … 127 128 128 129 int main(int argc, char **argv) { 130 #ifdef SPREAD_VERSION 131 int mver, miver, pver; 132 #endif 129 133 char *configfile = default_configfile; 130 134 char *message;
