aboutsummaryrefslogtreecommitdiff
path: root/src/espik_irc.c
diff options
context:
space:
mode:
authorbeber <beber>2005-10-12 21:06:11 +0000
committerbeber <beber>2005-10-12 21:06:11 +0000
commitffb0b0bb55de21a09814502243e6d60ac01c3f37 (patch)
tree00f9eea80288f9e239f64a5f39edd4a259b95247 /src/espik_irc.c
parentDude ! (diff)
downloadespik-ffb0b0bb55de21a09814502243e6d60ac01c3f37.tar.xz
How could I used #ifndef for #if ?
Diffstat (limited to 'src/espik_irc.c')
-rw-r--r--src/espik_irc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/espik_irc.c b/src/espik_irc.c
index 6ba01e4..4da2139 100644
--- a/src/espik_irc.c
+++ b/src/espik_irc.c
@@ -64,7 +64,7 @@ void string_upper (char *str)
if (str[i] >= 0x61 && str[i] <= 0x7A)
str[i] -= 0x20;
}
-#ifdef _D_
+#if _ESPIK_DEBUG_
printf("string_upper: %s\n", str);
#endif
}
@@ -155,7 +155,7 @@ char* irc_quit (char* chan __UNUSED__, char* msg)
snprintf (out.buf, out.len, "QUIT :%s", msg);
-#ifdef _D_
+#if _ESPIK_DEBUG_
printf ("msg : %s\nout: %s\n", msg, out.buf);
#endif
@@ -183,7 +183,7 @@ char* irc_nick (char* chan __UNUSED__, char* nick)
snprintf (out.buf, out.len, "NICK %s", nick);
-#ifdef _D_
+#if _ESPIK_DEBUG_
printf ("NICK CHANGED REQUEST: %s\n", nick);
#endif
@@ -219,7 +219,7 @@ char* irc_send (char* msg)
cmd_and_message = separate_commandline (msg + 1);
-#if _D_
+#if _ESPIK_DEBUG_
printf ("irc_send: <separate_commandline\n");
#endif