summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-10-10 12:19:02 +0200
committerAurelien Foret <aurelien@archlinux.org>2005-10-10 12:19:02 +0200
commit5d61a44759dee774e67178097c2f8acffe12836f (patch)
tree88f043befd993b3876aadc7283fa2b93e151577f /lib
parent8a53d5a3d7c330659a97382fdb9a358ea9022357 (diff)
downloadpacman-5d61a44759dee774e67178097c2f8acffe12836f.tar.gz
pacman-5d61a44759dee774e67178097c2f8acffe12836f.tar.xz
Fixed EVENT and QUESTION macros
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/trans.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalpm/trans.h b/lib/libalpm/trans.h
index b9ca04a8..09791a94 100644
--- a/lib/libalpm/trans.h
+++ b/lib/libalpm/trans.h
@@ -50,14 +50,14 @@ do { \
} while (0)
#define EVENT(t, e, d1, d2) \
do { \
- if((t) && (t)->cb_conv) { \
+ if((t) && (t)->cb_event) { \
(t)->cb_event(e, d1, d2); \
} \
} while(0)
-#define QUESTION(t, e, d1, d2, d3, r) \
+#define QUESTION(t, q, d1, d2, d3, r) \
do { \
- if((t) && (t)->cb_event) { \
- (t)->cb_conv(e, d1, d2, d3, r); \
+ if((t) && (t)->cb_conv) { \
+ (t)->cb_conv(q, d1, d2, d3, r); \
} \
} while(0)