Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjentsch <mtthsjntsch@gmail.com>2015-01-30 02:43:40 +0300
committermjentsch <mtthsjntsch@gmail.com>2015-01-30 03:08:00 +0300
commitc3445be62fa7b81830280b46e2c648907bbe36d6 (patch)
tree797e8739088d83135aa0f2bd6eefe4391cec1610 /tgp-net.c
parentbf511c94af99e3e059583197348a09d53f6e3508 (diff)
Fix debug logging linebreaks
Diffstat (limited to 'tgp-net.c')
-rw-r--r--tgp-net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tgp-net.c b/tgp-net.c
index bbb54d0..2708ff5 100644
--- a/tgp-net.c
+++ b/tgp-net.c
@@ -67,10 +67,10 @@ static void start_ping_timer (struct connection *c);
static int ping_alarm (gpointer arg) {
struct connection *c = arg;
struct tgl_state *TLS = c->TLS;
- vlogprintf (E_DEBUG + 2,"ping alarm\n");
+ vlogprintf (E_DEBUG + 2,"ping alarm");
assert (c->state == conn_failed || c->state == conn_ready || c->state == conn_connecting);
if (tglt_get_double_time () - c->last_receive_time > 6 * PING_TIMEOUT) {
- vlogprintf (E_WARNING, "fail connection: reason: ping timeout\n");
+ vlogprintf (E_WARNING, "fail connection: reason: ping timeout");
c->state = conn_failed;
fail_connection (c);
return FALSE;