diff options
author | Colin Watson <cjwatson@debian.org> | 2002-05-01 01:05:02 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2002-05-01 01:05:02 +0000 |
commit | 87459df86be44e8a521f4836a7da13950ba18d27 (patch) | |
tree | d1836b54b48ae61e382b5db78536356c0b2caac8 /libdb/db_store.c | |
parent | 32f87ce5d3dc373b67eb4cbd9605dd6c1180f522 (diff) |
Fix a case of replacing a multi key. Minor compile fixes.
Diffstat (limited to 'libdb/db_store.c')
-rw-r--r-- | libdb/db_store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdb/db_store.c b/libdb/db_store.c index e5017ee8..cdecece2 100644 --- a/libdb/db_store.c +++ b/libdb/db_store.c @@ -224,7 +224,7 @@ int dbstore(struct mandata *in, const char *basename) /* Check against identical multi keys before inserting into db */ - if (strcmp(lastkey.dptr, newkey.dptr) == 0) { + if (STREQ(old.ext, in->ext)) { int ret; ret = replace_if_necessary(in, &old, oldkey, newcont); |