From: Tim-Philipp Müller Date: Tue, 8 Apr 2014 15:09:16 +0000 (+0100) Subject: dvb: fix compilation X-Git-Tag: 1.19.3~507^2~11488 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d576a7b5ebe0a252d0577ad4d4981e0d48bd413f;p=platform%2Fupstream%2Fgstreamer.git dvb: fix compilation --- diff --git a/sys/dvb/camswclient.c b/sys/dvb/camswclient.c index ef381e4..628218e 100644 --- a/sys/dvb/camswclient.c +++ b/sys/dvb/camswclient.c @@ -77,7 +77,7 @@ cam_sw_client_open (CamSwClient * client, const char *sock_path) g_return_val_if_fail (client != NULL, FALSE); g_return_val_if_fail (client->state == CAM_SW_CLIENT_STATE_CLOSED, FALSE); g_return_val_if_fail (sock_path != NULL, FALSE); - g_return_val_if_fail (strlen (sock_path) >= sizeof (addr.sun_path)); + g_return_val_if_fail (strlen (sock_path) >= sizeof (addr.sun_path), FALSE); addr.sun_family = AF_UNIX; strncpy (addr.sun_path, sock_path, sizeof (addr.sun_path));