summaryrefslogtreecommitdiff
path: root/alpine/xoauth2conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'alpine/xoauth2conf.c')
-rw-r--r--alpine/xoauth2conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine/xoauth2conf.c b/alpine/xoauth2conf.c
index 9a6b246a..f21697c2 100644
--- a/alpine/xoauth2conf.c
+++ b/alpine/xoauth2conf.c
@@ -593,7 +593,7 @@ write_xoauth_conf_entry(XOAUTH2_INFO_S *x, XOAUTH2_INFO_S *y, CONF_S **cl, CONF_
sprintf(tmp2, "%d", key);
fs_resize((void **) varlistp, (p + i + 1)*sizeof(struct variable **));
- memset((void *) *varlistp + p*sizeof(struct variable *), 0, (i + 1)*sizeof(struct variable *));
+ memset((void *) (*varlistp + p*sizeof(struct variable *)), 0, (i + 1)*sizeof(struct variable *));
varlist = *varlistp;
new_confline(cl)->var = NULL;