aboutsummaryrefslogtreecommitdiff
path: root/src/diag.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-01-09 10:22:39 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-01-09 10:22:39 +0200
commit7361c5a48968685f1ac6bb8561072b2dfe6a5a61 (patch)
treebd2d2a60d5470b3aa1ea827024df0661bf847ba7 /src/diag.c
parent346535b7d14be92dd2b853058039bca67bb380dd (diff)
downloadpies-7361c5a48968685f1ac6bb8561072b2dfe6a5a61.tar.gz
pies-7361c5a48968685f1ac6bb8561072b2dfe6a5a61.tar.bz2
Bugfixes
* src/meta1gram.y: Translate "wait" mode to "exec". * src/diag.c (logmsg_vprintf): Don't loose the last segment before \n.
Diffstat (limited to 'src/diag.c')
-rw-r--r--src/diag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/diag.c b/src/diag.c
index 65d9562..eba08b5 100644
--- a/src/diag.c
+++ b/src/diag.c
@@ -129,6 +129,7 @@ logmsg_vprintf (int prio, const char *fmt, va_list ap)
*p++ = 0;
if (!*p)
p = NULL;
+ grecs_txtacc_grow_string (log_acc, str);
grecs_txtacc_grow_char (log_acc, 0);
t = grecs_txtacc_finish (log_acc, 0);
logmsg (prio, "%s", t);

Return to:

Send suggestions and report system problems to the System administrator.