From 2dc69c4feb4f4708570a023199a5e5129cbdb935 Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Sun, 10 Jun 2018 17:09:28 +0430 Subject: [PATCH] pop3: print message ID before reading its body --- pop3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pop3.c b/pop3.c index e4f8594..062bc3e 100644 --- a/pop3.c +++ b/pop3.c @@ -216,6 +216,7 @@ static int fetch_one(int i) if (pop3_res(line, sizeof(line))) return 1; printf("%s", mails[i].name); + fflush(stdout); s += mail_from_(s); while (1) { len = pop3_get(line, sizeof(line)); -- 2.11.4.GIT