summaryrefslogtreecommitdiffstats
path: root/test/test-server.c
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2014-08-29 16:47:54 +0200
committerTimo Dritschler <timo.dritschler@kit.edu>2014-08-29 16:47:54 +0200
commitecf1e0a95fff6b4bcf23c537824faf4768f8f65f (patch)
tree3cd15e1ea7a87dbd4e75ed657042e2ff0473e572 /test/test-server.c
parent4dff7a9ffb8355100482c9955bbb6889fe237bb4 (diff)
downloadkiro-ecf1e0a95fff6b4bcf23c537824faf4768f8f65f.tar.gz
kiro-ecf1e0a95fff6b4bcf23c537824faf4768f8f65f.tar.bz2
kiro-ecf1e0a95fff6b4bcf23c537824faf4768f8f65f.tar.xz
kiro-ecf1e0a95fff6b4bcf23c537824faf4768f8f65f.zip
Changed error loging to use the respective GLib functions
Also fixes #2
Diffstat (limited to 'test/test-server.c')
-rw-r--r--test/test-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-server.c b/test/test-server.c
index 2ed895b..64a25c9 100644
--- a/test/test-server.c
+++ b/test/test-server.c
@@ -170,7 +170,7 @@ main (void)
GRand *rand = g_rand_new();
if (0 > kiro_server_start (server, NULL, "60010", kiro_trb_get_raw_buffer (rb), kiro_trb_get_raw_size (rb))) {
- printf ("Failed to start server properly.\n");
+ g_critical ("Failed to start server properly");
goto done;
}