aboutsummaryrefslogtreecommitdiffstats
path: root/transact.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-04-01 10:31:07 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-04-01 10:31:07 +0000
commit26e3640e0627906e32340df39d41ae73a999f00c (patch)
tree9c00d5855e12276ceec62e21bcfacf753489017b /transact.c
parent62977c31da1eec0999a5d5b787966f1bd1f92ce2 (diff)
downloadfetchmail-26e3640e0627906e32340df39d41ae73a999f00c.tar.gz
fetchmail-26e3640e0627906e32340df39d41ae73a999f00c.tar.bz2
fetchmail-26e3640e0627906e32340df39d41ae73a999f00c.zip
Add folder information to headers in tracepoll mode.
Reported by Terry Brown. svn path=/branches/BRANCH_6-3/; revision=4764
Diffstat (limited to 'transact.c')
-rw-r--r--transact.c4
1 files changed, 4 insertions, 0 deletions
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);