aboutsummaryrefslogtreecommitdiff
path: root/src/espik_debug.c
diff options
context:
space:
mode:
authorBertrand Jacquin (Beber) <beber@setibzh.com>2006-01-19 00:56:38 +0100
committerBertrand Jacquin (Beber) <beber@setibzh.com>2006-01-19 00:56:38 +0100
commit0081dd7d7714238152e96afc5a6aed679c61fdbd (patch)
tree2f495104a892629300b70f841600a7070eb006dc /src/espik_debug.c
parentindent (diff)
downloadespik-0081dd7d7714238152e96afc5a6aed679c61fdbd.tar.xz
Do not send USER NICK while server does't speak to us
Do not send a trailing \0 at the end, just \r\n
Diffstat (limited to 'src/espik_debug.c')
-rw-r--r--src/espik_debug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/espik_debug.c b/src/espik_debug.c
index 424408e..9badbd4 100644
--- a/src/espik_debug.c
+++ b/src/espik_debug.c
@@ -14,6 +14,7 @@
inline void espik_debug_bt (int num)
{
+#if 0
#ifdef __GLIBC__
#ifdef _ESPIK_DEBUG_
@@ -37,13 +38,14 @@ inline void espik_debug_bt (int num)
free(strings);
#endif /* _ESPIK_DEBUG_ */
- num ++; /* Just for avoid warning */
#endif /* __GLIBC__ */
#ifndef __GLIBC__
fprintf(stderr, "Your system doesn't have glibc. Backtraces disabled."
"But program receive signal %d.\n", num);
#endif /* __GLIBC__ */
+#endif
+ num ++; /* Just for avoid warning */
}
void espik_debug_init()