Diff between 0e4fb34307ccb4ec78d5be7fd77eb24f2a3e7a8a and 7487d5b922ddc68d43516a20e211b061e8986e2e

Changed Files

File Additions Deletions Status
src/device.c +2 -0 modified

Full Patch

diff --git a/src/device.c b/src/device.c
index a46ee06..f854ed9 100644
--- a/src/device.c
+++ b/src/device.c
@@ -3075,6 +3075,8 @@ static gboolean attrib_disconnected_cb(GIOChannel *io, GIOCondition cond,
 	len = sizeof(err);
 	getsockopt(sock, SOL_SOCKET, SO_ERROR, &err, &len);
 
+	DBG("%s (%d)", strerror(err), err);
+
 	g_slist_foreach(device->attios, attio_disconnected, NULL);
 
 	if (!device_get_auto_connect(device)) {