]> git.meshlink.io Git - catta/blobdiff - avahi-utils/stdb.c
fix compilation when compiled with DBM instead of gdbm. Patch supplied from Padraig...
[catta] / 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
         }