From 9dc0b8bd674f71f8ee422b037dc409f2dd4f9487 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 14 Mar 2006 09:10:20 +0000 Subject: merge Mirek's fetchmail-signed.patch svn path=/branches/BRANCH_6-3/; revision=4734 --- odmr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odmr.c') diff --git a/odmr.c b/odmr.c index e1fce32d..18ef2e63 100644 --- a/odmr.c +++ b/odmr.c @@ -80,11 +80,11 @@ static int odmr_getrange(int sock, struct query *ctl, const char *id, */ buf[0] = '\0'; for (qnp = ctl->domainlist; qnp; qnp = qnp->next) - if (strlen(buf) + strlen((const char *)qnp->id) + 1 >= sizeof(buf)) + if (strlen(buf) + strlen(qnp->id) + 1 >= sizeof(buf)) break; else { - strcat(buf, (const char *)qnp->id); + strcat(buf, qnp->id); strcat(buf, ","); } buf[strlen(buf) - 1] = '\0'; /* nuke final comma */ -- cgit v1.2.3