All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] android/test-ipc: Use correct boolean values for glib functions
@ 2014-02-12 19:13 Anderson Lizardo
  2014-02-12 19:21 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Anderson Lizardo @ 2014-02-12 19:13 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Anderson Lizardo

---
 android/test-ipc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/android/test-ipc.c b/android/test-ipc.c
index 3a0729e..2def97b 100644
--- a/android/test-ipc.c
+++ b/android/test-ipc.c
@@ -263,8 +263,8 @@ static void execute_context(struct context *context)
 {
 	g_main_loop_run(context->main_loop);
 
-	g_io_channel_shutdown(context->notif_io, true, NULL);
-	g_io_channel_shutdown(context->cmd_io, true, NULL);
+	g_io_channel_shutdown(context->notif_io, TRUE, NULL);
+	g_io_channel_shutdown(context->cmd_io, TRUE, NULL);
 	g_io_channel_unref(context->cmd_io);
 	g_io_channel_unref(context->notif_io);
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH BlueZ] android/test-ipc: Use correct boolean values for glib functions
  2014-02-12 19:13 [PATCH BlueZ] android/test-ipc: Use correct boolean values for glib functions Anderson Lizardo
@ 2014-02-12 19:21 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-02-12 19:21 UTC (permalink / raw)
  To: Anderson Lizardo; +Cc: linux-bluetooth

Hi Anderson,

On Wednesday 12 of February 2014 15:13:21 Anderson Lizardo wrote:
> ---
>  android/test-ipc.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/android/test-ipc.c b/android/test-ipc.c
> index 3a0729e..2def97b 100644
> --- a/android/test-ipc.c
> +++ b/android/test-ipc.c
> @@ -263,8 +263,8 @@ static void execute_context(struct context *context)
>  {
>  	g_main_loop_run(context->main_loop);
> 
> -	g_io_channel_shutdown(context->notif_io, true, NULL);
> -	g_io_channel_shutdown(context->cmd_io, true, NULL);
> +	g_io_channel_shutdown(context->notif_io, TRUE, NULL);
> +	g_io_channel_shutdown(context->cmd_io, TRUE, NULL);
>  	g_io_channel_unref(context->cmd_io);
>  	g_io_channel_unref(context->notif_io);

Applied, thanks.

-- 
BR
Szymon Janc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-12 19:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-12 19:13 [PATCH BlueZ] android/test-ipc: Use correct boolean values for glib functions Anderson Lizardo
2014-02-12 19:21 ` Szymon Janc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.