mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
dvb: Fix if() check
introduced by my previous commit :(
This commit is contained in:
parent
ad77f3056b
commit
c45b44e309
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ cam_sw_client_open (CamSwClient * client, const char *sock_path)
|
||||||
strncpy (addr.sun_path, sock_path, sizeof (addr.sun_path));
|
strncpy (addr.sun_path, sock_path, sizeof (addr.sun_path));
|
||||||
|
|
||||||
GST_INFO ("connecting to softcam socket: %s", sock_path);
|
GST_INFO ("connecting to softcam socket: %s", sock_path);
|
||||||
if (client->sock = socket (PF_UNIX, SOCK_STREAM, 0)) {
|
if ((client->sock = socket (PF_UNIX, SOCK_STREAM, 0)) < 0) {
|
||||||
GST_ERROR ("Failed to create a socket, error : %s", strerror (errno));
|
GST_ERROR ("Failed to create a socket, error : %s", strerror (errno));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue