X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=test%2Fle-adv%2Fbluetooth-advertising-test.c;h=ffc92943af8c2c0dfa96c7851b9702b9ef6a7113;hb=e808cd1dcf0cc5e04b27b4900305fd77e19e5a3f;hp=3b62622656000312512eb386a59334ab2590ff50;hpb=e5f81d31ebf2c02bbb307ef80a38d3653c09f18b;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git diff --git a/test/le-adv/bluetooth-advertising-test.c b/test/le-adv/bluetooth-advertising-test.c index 3b62622..ffc9294 100755 --- a/test/le-adv/bluetooth-advertising-test.c +++ b/test/le-adv/bluetooth-advertising-test.c @@ -28,8 +28,6 @@ #include #include #include -#include -#include #include "bluetooth-api.h" @@ -325,7 +323,7 @@ static gboolean key_event_cb(GIOChannel *chan, GIOCondition cond, gpointer data) unsigned int len = 0; int test_id; - if (g_io_channel_read_chars(chan, buf, sizeof(buf), + if (g_io_channel_read_chars(chan, buf, sizeof(buf), &len, NULL) == G_IO_STATUS_ERROR) { printf("IO Channel read error"); return FALSE;