Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 311585
Collapse All | Expand All

(-)a/src/telepathy-sofiasip.c (+2 lines)
Lines 49-54 sofia_log_handler (void *logdata, const char *format, va_list args) Link Here
49
  /* Append the formatted message at the end of the buffer */
49
  /* Append the formatted message at the end of the buffer */
50
  g_string_append_vprintf (buf, format, args);
50
  g_string_append_vprintf (buf, format, args);
51
51
52
#ifdef ENABLE_DEBUG
52
  /* If we have a terminated line, log it, stripping the newline */
53
  /* If we have a terminated line, log it, stripping the newline */
53
  if (buf->str[buf->len - 1] == '\n')
54
  if (buf->str[buf->len - 1] == '\n')
54
    {
55
    {
Lines 56-61 sofia_log_handler (void *logdata, const char *format, va_list args) Link Here
56
      tpsip_log (TPSIP_DEBUG_SOFIA, G_LOG_LEVEL_DEBUG, "%s", buf->str);
57
      tpsip_log (TPSIP_DEBUG_SOFIA, G_LOG_LEVEL_DEBUG, "%s", buf->str);
57
      g_string_truncate (buf, 0);
58
      g_string_truncate (buf, 0);
58
    }
59
    }
60
#endif
59
}
61
}
60
62
61
static gpointer
63
static gpointer

Return to bug 311585