Diff between eba1c40cb52dcb1cd548d920a6a829bbae12143c and 02ad63d496de69117e30cd1bfa7d9c2d97373dd7
Changed Files
| File | Additions | Deletions | Status |
| src/profile.c | +1 | -1 | modified |
Full Patch
diff --git a/src/profile.c b/src/profile.c
index c9ff553..b98db36 100644
--- a/src/profile.c
+++ b/src/profile.c
@@ -800,7 +800,7 @@ static void ext_connect(GIOChannel *io, GError *err, gpointer user_data)
drop:
if (conn->cb) {
- conn->cb(&ext->p, conn->device, -err->code);
+ conn->cb(&ext->p, conn->device, err ? -err->code : -EIO);
conn->cb = NULL;
}
if (io_err)