From 3367ca766bedda62e94a39e672e107aff6f3b144 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Mon, 3 Aug 2009 17:11:38 -0700 Subject: Fix minor typo in discover-client file descriptor check Signed-off-by: Geoff Levand --- ui/common/discover-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/common') diff --git a/ui/common/discover-client.c b/ui/common/discover-client.c index e8ce4dd..5b42b6c 100644 --- a/ui/common/discover-client.c +++ b/ui/common/discover-client.c @@ -46,7 +46,7 @@ struct discover_client* discover_client_init( client->ops.cb_arg = cb_arg; client->fd = socket(AF_UNIX, SOCK_STREAM, 0); - if (!client->fd < 0) { + if (client->fd < 0) { pb_log("%s: socket: %s\n", __func__, strerror(errno)); goto out_err; } -- cgit v1.2.1