summaryrefslogtreecommitdiff
path: root/accel-pppd/triton/event.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2011-01-28 15:44:46 +0300
committerKozlov Dmitry <dima@server>2011-01-28 15:44:46 +0300
commite6d2aea48d3402fe2542ae6c055a607dd37a4bba (patch)
tree9a827ecdedd7ba7df33cfbab2131c97d31f2d2aa /accel-pppd/triton/event.c
parenta69ae308efe400d14ecbab676a5e7592908c6b46 (diff)
downloadaccel-ppp-e6d2aea48d3402fe2542ae6c055a607dd37a4bba.tar.gz
accel-ppp-e6d2aea48d3402fe2542ae6c055a607dd37a4bba.zip
fix unterminated messages in core.log
Diffstat (limited to 'accel-pppd/triton/event.c')
-rw-r--r--accel-pppd/triton/event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/triton/event.c b/accel-pppd/triton/event.c
index d45eca01..56472c1c 100644
--- a/accel-pppd/triton/event.c
+++ b/accel-pppd/triton/event.c
@@ -40,7 +40,7 @@ int __export triton_event_register_handler(int ev_id, triton_event_func func)
if (!ev) {
ev = malloc(sizeof(*ev));
if (!ev) {
- triton_log_error("event: out of memory\n");
+ triton_log_error("event: out of memory");
return -1;
}
INIT_LIST_HEAD(&ev->handlers);
@@ -49,7 +49,7 @@ int __export triton_event_register_handler(int ev_id, triton_event_func func)
h = malloc(sizeof(*h));
if (!h) {
- triton_log_error("event: out of memory\n");
+ triton_log_error("event: out of memory");
return -1;
}