aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/dest_relay.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/dest_relay.c')
-rwxr-xr-xdaemon/dest_relay.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/daemon/dest_relay.c b/daemon/dest_relay.c
index 0ddf675..701c2c3 100755
--- a/daemon/dest_relay.c
+++ b/daemon/dest_relay.c
@@ -100,10 +100,11 @@ static void put_message_to_relay_dest( struct destination* destination, struct m
pri = string_printf( "<%d>", LOG_MAKEPRI( msg->facility, msg->priority ) );
if( destination->u.relay.omit_hostname )
- len = string_concat( &buffer, pri, msg->timestamp, space, msg->message, line_feed, NULL );
+ len = string_concat( &buffer, pri, msg->timestamp, msg->separator,
+ msg->message, msg->end_of_line, NULL );
else
- len = string_concat( &buffer, pri, msg->timestamp, space,
- msg->hostname, space, msg->message, line_feed, NULL );
+ len = string_concat( &buffer, pri, msg->timestamp, msg->separator, msg->hostname,
+ msg->separator, msg->message, msg->end_of_line, NULL );
string_release( pri );
if( len > 1024 )