X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mx%2Fmx.c;h=96dab2cf16dc07a1e85252e49ea9bf948edb8d4c;hp=1caefe580265ad7845081d869f2e6d385c5a1925;hb=b23d5033080fe9f9fba038e3cf1e3ec2b0a0d33d;hpb=8e075eda08c6f099ec6988e16607fb4f6a10ba92 diff --git a/lib-mx/mx.c b/lib-mx/mx.c index 1caefe5..96dab2c 100644 --- a/lib-mx/mx.c +++ b/lib-mx/mx.c @@ -61,8 +61,8 @@ static mx_t const *mxfmts[] = { static int invoke_dotlock (const char *path, int flags, int retry) { char cmd[LONG_STRING + _POSIX_PATH_MAX]; - char f[SHORT_STRING + _POSIX_PATH_MAX]; - char r[SHORT_STRING]; + char f[STRING + _POSIX_PATH_MAX]; + char r[STRING]; if (flags & DL_FL_RETRY) snprintf (r, sizeof (r), "-r %d ", retry ? MAXLOCKATTEMPT : 0); @@ -644,7 +644,7 @@ static int _mx_close_mailbox (CONTEXT * ctx, int *index_hint) int isSpool = 0; CONTEXT f; char mbox[_POSIX_PATH_MAX]; - char buf[SHORT_STRING]; + char buf[STRING]; if (!ctx) return 0; @@ -960,7 +960,7 @@ static int _mx_sync_mailbox (CONTEXT * ctx, int *index_hint) } if (ctx->deleted) { - char buf[SHORT_STRING]; + char buf[STRING]; snprintf (buf, sizeof (buf), ctx->deleted == 1 ? _("Purge %d deleted message?") :