]> git.meshlink.io Git - catta/commitdiff
fix compilation when compiled with DBM instead of gdbm. Patch supplied from Padraig...
authorLennart Poettering <lennart@poettering.net>
Mon, 11 Jun 2007 15:55:07 +0000 (15:55 +0000)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Jun 2007 15:55:07 +0000 (15:55 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1484 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-utils/stdb.c

index a4203647aca107a8bb80cde358d5fee8ed8e5f67..b7a5ed3692940056e34fbb73789907131bd02aad 100644 (file)
@@ -190,7 +190,7 @@ char *stdb_getent(void) {
             key = gdbm_nextkey(gdbm_file, key);
 #endif
 #ifdef HAVE_DBM
-            key = dbm_nextkey(dbm_file, key);
+            key = dbm_nextkey(dbm_file);
 #endif
         }