aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index ecee563..319903e 100644
--- a/common.h
+++ b/common.h
@@ -393,7 +393,7 @@ int imap_set_(struct imapbase *, void **v, uint vsiz, short k);
(m)->mb.n = 0)
#define imap_get(m, k) (((m)->tmp = imap_get_(&(m)->mb, k)) < 0 ? NULL : &(m)->v[(m)->tmp])
#define imap_set(m, k, x) ((m)->tmp = imap_set_(&(m)->mb, (void **)&(m)->v, sizeof*(m)->v, k), \
- (m)->v[(m)->tmp] = (x))
+ (m)->v[(m)->tmp] = (x), &(m)->v[(m)->tmp])
struct pmapbase { void **k; uint n, N; };
/* map of non-null ptr -> T */