From 391338b939b07ea7afda402f6ec15c9a50b18752 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Mon, 14 Feb 2005 19:52:10 +0000 Subject: [PATCH] Broke apart long code line SVN revision: 1203 --- src/elogd.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/elogd.c b/src/elogd.c index 75fba632..ec58b5d9 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.559 2005/02/14 19:52:10 ritt + Broke apart long code line + Revision 1.558 2005/02/14 10:57:11 ritt Fixed compiler warning @@ -13742,10 +13745,13 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, rsprintf ("%s %d: %s\n", colspan, loc("Attachment"), index + 1, ref, attachment[index] + 14); - if (show_attachments) - rsprintf - ("\"%s\"", - colspan, ref, attachment[index] + 14); + if (show_attachments) { + rsprintf(""); + rsprintf("", colspan); + rsprintf("\"%s\"", + ref, attachment[index] + 14); + rsprintf("\n"); + } } else { rsprintf ("%s %d: %s\n", @@ -18147,7 +18153,7 @@ void show_elog_entry(LOGBOOK * lbs, char *dec_path, char *command) if (is_image(att)) { rsprintf("\n"); rsprintf("\n", index + 1); - rsprintf("\"%s\"", ref, attachment[index] + 14); + rsprintf("\"%s\"\n", ref, attachment[index]+14); rsprintf("\n\n"); } else { if (is_ascii(file_name)) {