From dd1b1d54a7386aeeb27edcacb765d5bb228456d7 Mon Sep 17 00:00:00 2001 From: samr7 Date: Sun, 14 Dec 2008 23:13:35 +0000 Subject: Dump some minor diagnostics when SCO accept fails. git-svn-id: http://nohands.svn.sourceforge.net/svnroot/nohands/trunk@65 126591fb-c623-4b62-a76d-97a8e4f34109 --- libhfp/hfp.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libhfp') diff --git a/libhfp/hfp.cpp b/libhfp/hfp.cpp index 9d83068..09770fd 100644 --- a/libhfp/hfp.cpp +++ b/libhfp/hfp.cpp @@ -321,6 +321,7 @@ ScoListenNotify(SocketNotifier *notp, int fh) al = sizeof(saddr); ssock = accept(fh, (struct sockaddr*)&saddr, &al); if (ssock < 0) { + GetDi()->LogDebug("SCO accept: %s", strerror(errno)); return; } -- cgit v1.2.1