From 26e3640e0627906e32340df39d41ae73a999f00c Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 1 Apr 2006 10:31:07 +0000 Subject: Add folder information to headers in tracepoll mode. Reported by Terry Brown. svn path=/branches/BRANCH_6-3/; revision=4764 --- transact.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'transact.c') diff --git a/transact.c b/transact.c index c0719615..839cc181 100644 --- a/transact.c +++ b/transact.c @@ -1190,6 +1190,10 @@ int readheaders(int sock, " polling %s account %s", ctl->server.pollname, ctl->remotename); + if (ctl->folder) + snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), + " folder %s", + ctl->folder); } snprintf(buf+strlen(buf), sizeof(buf)-strlen(buf), ")\r\n"); n = stuffline(ctl, buf); -- cgit v1.2.3