projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
hcache.c
diff --git
a/hcache.c
b/hcache.c
index
93b84de
..
7a7c2ee
100644
(file)
--- a/
hcache.c
+++ b/
hcache.c
@@
-8,6
+8,13
@@
* It's licensed under the GNU General Public License,
* please see the file GPL in the top level source directory.
*/
* It's licensed under the GNU General Public License,
* please see the file GPL in the top level source directory.
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
+#ifdef USE_HCACHE
+
+#define MUTTNG_HCACHE_ID "0x003"
# if HAVE_INTTYPES_H
# include <inttypes.h>
# if HAVE_INTTYPES_H
# include <inttypes.h>
@@
-17,12
+24,6
@@
# endif
# endif
# endif
# endif
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif /* HAVE_CONFIG_H */
-
-#ifdef USE_HCACHE
-
#if HAVE_QDBM
#include <depot.h>
#include <cabin.h>
#if HAVE_QDBM
#include <depot.h>
#include <cabin.h>
@@
-446,9
+447,9
@@
static int generate_crc32 ()
int crc = 0;
crc = crc32 (crc, (unsigned char const *)
int crc = 0;
crc = crc32 (crc, (unsigned char const *)
- "sithglan@stud.uni-erlangen.de[sithglan]|hcache.c|20041108231548|29613",
+
MUTTNG_HCACHE_ID
"sithglan@stud.uni-erlangen.de[sithglan]|hcache.c|20041108231548|29613",
str_len
str_len
- ("sithglan@stud.uni-erlangen.de[sithglan]|hcache.c|20041108231548|29613"));
+ (
MUTTNG_HCACHE_ID
"sithglan@stud.uni-erlangen.de[sithglan]|hcache.c|20041108231548|29613"));
#if HAVE_LANGINFO_CODESET
crc = crc32 (crc, (unsigned char const *) Charset, str_len (Charset));
#if HAVE_LANGINFO_CODESET
crc = crc32 (crc, (unsigned char const *) Charset, str_len (Charset));