Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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)