diff options
| author | Ulisses Furquim <ulissesf@gmail.com> | 2006-09-27 18:47:24 +0000 | 
|---|---|---|
| committer | Ulisses Furquim <ulissesf@gmail.com> | 2006-09-27 18:47:24 +0000 | 
| commit | 5b95018ec32fe6ef9545826ac6d5993633ae1695 (patch) | |
| tree | a731887b3c7a0726950dae581f61ff77c9d3b9c2 | |
| parent | 255528bec9a5ffdd81ce509f2166a3a405b958d3 (diff) | |
Fix the test for an error condition
| -rw-r--r-- | hcid/dbus-sdp.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/hcid/dbus-sdp.c b/hcid/dbus-sdp.c index 3372df15..8502c42a 100644 --- a/hcid/dbus-sdp.c +++ b/hcid/dbus-sdp.c @@ -514,7 +514,7 @@ static gboolean search_process_cb(GIOChannel *chan,  		return FALSE;  	} -	if (cond & G_IO_ERR & G_IO_HUP) { +	if (cond & (G_IO_ERR | G_IO_HUP)) {  		err = EIO;  		goto failed;  	} | 
