]> err.no Git - mapper/commitdiff
Cleanups
authorKaj-Michael Lang <milang@angel.tal.org>
Mon, 15 Oct 2007 08:38:48 +0000 (11:38 +0300)
committerKaj-Michael Lang <milang@angel.tal.org>
Mon, 15 Oct 2007 08:38:48 +0000 (11:38 +0300)
src/bt-bluez.c

index 8bf6d4ee1ad0046153afe5cae5c9075452276de7..2ca1345a126bd2cfb0019b99154fc0991c1f3838 100644 (file)
@@ -42,12 +42,12 @@ channel_cb_connect(GIOChannel * src, GIOCondition condition, gpointer data)
 gint error, size = sizeof(error);
 
 if (*_rcvr_mac != '/' && (getsockopt(_fd, SOL_SOCKET, SO_ERROR, &error, &size) || error)) {
-       printf("%s(): Error connecting to receiver; retrying...\n", __PRETTY_FUNCTION__);
+       g_printf("Error connecting to receiver; retrying...\n");
        /* Try again. */
        rcvr_disconnect();
        rcvr_connect_later();
 } else {
-       printf("%s(): Connected to receiver!\n", __PRETTY_FUNCTION__);
+       g_printf("Connected to receiver!\n");
        set_conn_state(RCVR_UP);
        _input_sid = g_io_add_watch_full(_channel, G_PRIORITY_LOW,
                                        G_IO_IN | G_IO_PRI,