From d8a6fed9a94b3640924deb82969a7c3c0ac78996 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Tue, 15 Jul 2003 11:19:28 +0000 Subject: [PATCH] Download now works with elog utility SVN revision: 580 --- src/elogd.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/elogd.c b/src/elogd.c index 5c0ae24b..e38e6b6f 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.133 2003/07/15 11:19:28 midas + Download now works with elog utility + Revision 1.132 2003/07/15 08:00:04 midas Fixed problem with coloring hyperlinks in find result page @@ -7599,7 +7602,7 @@ char message[TEXT_SIZE+1000], *p; } return_length = strlen(return_buffer)+size; - strlcat(return_buffer, message, sizeof(return_buffer)); + strlcat(return_buffer, message, return_buffer_size); return EL_SUCCESS; } @@ -12735,7 +12738,8 @@ FILE *f; return; } - if (equal_ustring(command, loc("Download"))) + if (equal_ustring(command, loc("Download")) || + equal_ustring(command, "Download")) { show_download_page(lbs, dec_path); return;