summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-11-26 00:55:28 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-11-26 00:55:28 +0000
commit67ffa5b504c97842c8a7e123af6fa4587928f64e (patch)
tree25b94caa64a6e4341cb94575f5632123d2776b31
parent1721cf2809d3c1d07cdf63eabf155972abc0db2c (diff)
downloadmailutils-67ffa5b504c97842c8a7e123af6fa4587928f64e.tar.gz
mailutils-67ffa5b504c97842c8a7e123af6fa4587928f64e.tar.bz2
Bugfix
-rw-r--r--mailbox/mu_auth.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/mailbox/mu_auth.c b/mailbox/mu_auth.c
index 93df5168d..a6d03d596 100644
--- a/mailbox/mu_auth.c
+++ b/mailbox/mu_auth.c
@@ -138,19 +138,19 @@ mu_auth_data_alloc (struct mu_auth_data **ptr,
shell = "/dev/null";
if (!mailbox)
{
- rc = mu_construct_user_mailbox_url (&tmp_mailbox_name, name);
+ int rc = mu_construct_user_mailbox_url (&tmp_mailbox_name, name);
if (rc)
return rc;
- mailbox_name = tmp_mailbox_name;
+ mailbox = tmp_mailbox_name;
}
- size = = sizeof (**ptr) +
- strlen (name) + 1 +
- strlen (passwd) + 1 +
- strlen (gecos) + 1 +
- strlen (dir) + 1 +
- strlen (shell) + 1 +
- strlen (mailbox) + 1;
+ size = sizeof (**ptr) +
+ strlen (name) + 1 +
+ strlen (passwd) + 1 +
+ strlen (gecos) + 1 +
+ strlen (dir) + 1 +
+ strlen (shell) + 1 +
+ strlen (mailbox) + 1;
*ptr = calloc (1, size);
if (!*ptr)

Return to:

Send suggestions and report system problems to the System administrator.