From 24fe86deb7f53aec3c7f622cee1ab743b1d17f2e Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 2 Feb 2001 05:35:21 +0000 Subject: [PATCH] * I dunno --- citadel/commands.c | 4 ++-- citadel/imap_fetch.c | 2 +- citadel/sysconfig.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/citadel/commands.c b/citadel/commands.c index 50cc2fe0b..bfd1c6521 100644 --- a/citadel/commands.c +++ b/citadel/commands.c @@ -63,8 +63,8 @@ int rc_force_mail_prompts; int rc_remember_passwords; int rc_ansi_color; int num_urls = 0; -char urls[MAXURLS][1024]; -char rc_url_cmd[1024]; +char urls[MAXURLS][SIZ]; +char rc_url_cmd[SIZ]; char *gl_string; int next_lazy_cmd = 5; diff --git a/citadel/imap_fetch.c b/citadel/imap_fetch.c index 7fe0013a2..6f07f64ff 100644 --- a/citadel/imap_fetch.c +++ b/citadel/imap_fetch.c @@ -380,7 +380,7 @@ void imap_fetch_body(long msgnum, char *item, int is_peek, if (partial[i]=='>') partial[i] = 0; } if (is_partial == 0) strcpy(partial, ""); - lprintf(9, "Partial is %s\n", partial); + if (strlen(partial) > 0) lprintf(9, "Partial is %s\n", partial); tmp = tmpfile(); if (tmp == NULL) { diff --git a/citadel/sysconfig.h b/citadel/sysconfig.h index b5581ea77..cb9833323 100644 --- a/citadel/sysconfig.h +++ b/citadel/sysconfig.h @@ -90,7 +90,7 @@ /* * Command buffer size (do not change!) */ -#define SIZ 1024 +#define SIZ 4096 /* * SMTP delivery retry and give-up times -- 2.30.2