Commit f73a0707 f73a07073ac2c6b08315371a5b92352a81c0c3cc by Sergey Poznyakoff

Bugfix.

* mailbox/url.c (_url_path_default): Fix improper use of
sizeof (a typo, probably).
1 parent d6d78fad
......@@ -952,7 +952,7 @@ mu_url_init (mu_url_t url, int port, const char *scheme)
static char *
_url_path_default (const char *spooldir, const char *user, int unused)
{
char *mbox = malloc (sizeof(spooldir) + strlen(user) + 2);
char *mbox = malloc (strlen (spooldir) + strlen (user) + 2);
if (!mbox)
errno = ENOMEM;
else
......