Mercurial > hg > freeDiameter
diff libfdcore/p_out.c @ 975:5c564966a754
Remove \n from fd_msg_log.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Thu, 14 Mar 2013 18:27:39 +0100 |
parents | 155d45d06530 |
children | 357c2f892d24 |
line wrap: on
line diff
--- a/libfdcore/p_out.c Thu Mar 14 18:14:35 2013 +0100 +++ b/libfdcore/p_out.c Thu Mar 14 18:27:39 2013 +0100 @@ -154,7 +154,7 @@ CHECK_FCT_DO( ret = do_send(&msg, 0, peer->p_cnxctx, &peer->p_hbh, &peer->p_sr), { if (msg) { - fd_msg_log( FD_MSG_LOG_DROPPED, msg, "Internal error: Problem while sending (%s)\n", strerror(ret) ); + fd_msg_log( FD_MSG_LOG_DROPPED, msg, "Internal error: Problem while sending (%s)", strerror(ret) ); fd_msg_free(msg); } } ); @@ -194,7 +194,7 @@ CHECK_FCT_DO( ret = do_send(msg, flags, cnx, hbh, peer ? &peer->p_sr : NULL), { if (msg) { - fd_msg_log( FD_MSG_LOG_DROPPED, *msg, "Internal error: Problem while sending (%s)\n", strerror(ret) ); + fd_msg_log( FD_MSG_LOG_DROPPED, *msg, "Internal error: Problem while sending (%s)", strerror(ret) ); fd_msg_free(*msg); *msg = NULL; }