comparison 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
comparison
equal deleted inserted replaced
974:2091bf698fb1 975:5c564966a754
152 152
153 /* Send the message, log any error */ 153 /* Send the message, log any error */
154 CHECK_FCT_DO( ret = do_send(&msg, 0, peer->p_cnxctx, &peer->p_hbh, &peer->p_sr), 154 CHECK_FCT_DO( ret = do_send(&msg, 0, peer->p_cnxctx, &peer->p_hbh, &peer->p_sr),
155 { 155 {
156 if (msg) { 156 if (msg) {
157 fd_msg_log( FD_MSG_LOG_DROPPED, msg, "Internal error: Problem while sending (%s)\n", strerror(ret) ); 157 fd_msg_log( FD_MSG_LOG_DROPPED, msg, "Internal error: Problem while sending (%s)", strerror(ret) );
158 fd_msg_free(msg); 158 fd_msg_free(msg);
159 } 159 }
160 } ); 160 } );
161 161
162 /* Loop */ 162 /* Loop */
192 192
193 /* Do send the message */ 193 /* Do send the message */
194 CHECK_FCT_DO( ret = do_send(msg, flags, cnx, hbh, peer ? &peer->p_sr : NULL), 194 CHECK_FCT_DO( ret = do_send(msg, flags, cnx, hbh, peer ? &peer->p_sr : NULL),
195 { 195 {
196 if (msg) { 196 if (msg) {
197 fd_msg_log( FD_MSG_LOG_DROPPED, *msg, "Internal error: Problem while sending (%s)\n", strerror(ret) ); 197 fd_msg_log( FD_MSG_LOG_DROPPED, *msg, "Internal error: Problem while sending (%s)", strerror(ret) );
198 fd_msg_free(*msg); 198 fd_msg_free(*msg);
199 *msg = NULL; 199 *msg = NULL;
200 } 200 }
201 } ); 201 } );
202 } 202 }
"Welcome to our mercurial repository"