diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-25 16:26:19 +0200 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-25 16:26:19 +0200 | 
| commit | f90d997ac4e6c9afbf46a6d849ff15cad113fe9b (patch) | |
| tree | 42272a0f24be686b71bde2f6fcede4856c676210 | |
| parent | 6bebcccff34094932b9c46e60b9478474a52bbc4 (diff) | |
Fix pending connect check
| -rw-r--r-- | audio/headset.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/headset.c b/audio/headset.c index 007aaa10..7f87dc23 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -1297,7 +1297,7 @@ void headset_connect_cb(GIOChannel *chan, GError *err, gpointer user_data)  	return;  failed: -	if (p->msg) +	if (p && p->msg)  		error_connection_attempt_failed(dev->conn, p->msg, p->err);  	pending_connect_finalize(dev);  	if (hs->rfcomm)  | 
