minor fixes + overlapping memcpy replaced with memmove

This commit is contained in:
z3APA3A committed 2014-06-11 00:54:58 +04:00
1 parent 53098814f0
commit 40d03b8a4a
4 files changed
+17 -18

No files matched your search

+13
View File
@@ -657,6 +657,19 @@ typedef enum {
TYPE_SERVER
}DATA_TYPE;
struct hashentry {
unsigned char hash[sizeof(unsigned)*4];
unsigned long value;
time_t expires;
struct hashentry *next;
};
struct hashtable {
unsigned hashsize;
struct hashentry ** hashtable;
struct hashentry * hashvalues;
struct hashentry * hashempty;
};
#ifdef __cplusplus
}