summaryrefslogtreecommitdiff
path: root/ext/sdbm
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sdbm')
-rw-r--r--ext/sdbm/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c
index 596d954..f0e7aa5 100644
--- a/ext/sdbm/init.c
+++ b/ext/sdbm/init.c
@@ -83,9 +83,9 @@ closed_sdbm()
if ((dbmp)->di_dbm == 0) closed_sdbm();\
} while (0)
-#define GetDBM2(obj, data, dbm) do {\
- GetDBM((obj), (data));\
- (dbm) = dbmp->di_dbm;\
+#define GetDBM2(obj, dbmp, dbm) do {\
+ GetDBM((obj), (dbmp));\
+ (dbm) = (dbmp)->di_dbm; \
} while (0)
static void