aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbeber <beber>2005-12-09 00:29:45 +0000
committerbeber <beber>2005-12-09 00:29:45 +0000
commit72651425c6a2b63f3f4ad9e543749cb8ecaf66e4 (patch)
treedc25094a73284441a45b7a1cb0be72654d4eca03 /src
parentm4 for debug (diff)
downloadespik-72651425c6a2b63f3f4ad9e543749cb8ecaf66e4.tar.xz
use printf some times ;)
Diffstat (limited to 'src')
-rw-r--r--src/espik.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/espik.c b/src/espik.c
index c4166be..ab0c640 100644
--- a/src/espik.c
+++ b/src/espik.c
@@ -65,15 +65,15 @@ int main (int argc, char **argv)
espik_config_set (a_infos);
- espik_debug_print ("host: %s", a_infos.server->host);
- espik_debug_print ("port: %hd", a_infos.server->port);
- espik_debug_print ("nick: %s", a_infos.client->nickname);
- espik_debug_print ("user: %s", a_infos.client->username);
- espik_debug_print ("real: %s", a_infos.client->realname);
+ printf ("host: %s\n", a_infos.server->host);
+ printf ("port: %hd\n", a_infos.server->port);
+ printf ("nick: %s\n", a_infos.client->nickname);
+ printf ("user: %s\n", a_infos.client->username);
+ printf ("real: %s\n", a_infos.client->realname);
if (!ecore_init ())
{
- espik_debug_print ("Cannot init ecore; %d", 1);
+ printf ("Cannot init ecore; %d\n", 1);
exit (-1);
}
@@ -92,7 +92,7 @@ int main (int argc, char **argv)
fd_kb = ecore_main_fd_handler_add (STDIN_FILENO, ECORE_FD_READ, kb_get, NULL, NULL, NULL);
if (!fd_kb)
{
- espik_debug_print ("Cannot ecore_main_fd_handler_add");
+ printf ("Cannot ecore_main_fd_handler_add\n");
exit (-1);
}
/* ecore_event_handler_add (ECORE_CON_EVENT_SERVER_DATA, (Handler_Func) server_data, NULL); */