diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-12-14 16:55:33 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-12-14 16:55:33 +0200 |
commit | 89fb41d0170724c49d23c0887d5f47026b221898 (patch) | |
tree | bdf3b0b3301d1807e8697b4d234871093a7bb787 /mu | |
parent | 723ade1ac72fa2635d7aa04f6a118cefce44f15a (diff) | |
download | mailutils-89fb41d0170724c49d23c0887d5f47026b221898.tar.gz mailutils-89fb41d0170724c49d23c0887d5f47026b221898.tar.bz2 |
Bugfixes
* libproto/imap/tag.c: Initialize allocated slot to 0
* mu/imap.c: Fix number of elements to allocate
Diffstat (limited to 'mu')
-rw-r--r-- | mu/imap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -588,7 +588,7 @@ com_connect (int argc, char **argv) if (!status) { connect_argc = argc; - connect_argv = mu_calloc (argc, sizeof (*connect_argv)); + connect_argv = mu_calloc (argc + 1, sizeof (*connect_argv)); for (i = 0; i < argc; i++) connect_argv[i] = mu_strdup (argv[i]); connect_argv[i] = NULL; |