From e44ad56e82c0365557edd6b697c29666f28c87d7 Mon Sep 17 00:00:00 2001 From: Vincent Lefevre Date: Mon, 12 Apr 2004 20:39:06 +0000 Subject: [PATCH] #1803: Short int format, short unsigned int arg. --- imap/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imap/util.c b/imap/util.c index 18d055a5..e5863d83 100644 --- a/imap/util.c +++ b/imap/util.c @@ -148,7 +148,7 @@ int imap_parse_path (const char* path, IMAP_MBOX* mx) } if (n > 1) { - if (sscanf (tmp, ":%hd%127s", &(mx->account.port), tmp) >= 1) + if (sscanf (tmp, ":%hu%127s", &(mx->account.port), tmp) >= 1) mx->account.flags |= M_ACCT_PORT; if (sscanf (tmp, "/%s", tmp) == 1) { -- 2.40.0