summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsamr7 <samr7@126591fb-c623-4b62-a76d-97a8e4f34109>2008-12-14 23:13:35 +0000
committersamr7 <samr7@126591fb-c623-4b62-a76d-97a8e4f34109>2008-12-14 23:13:35 +0000
commitdd1b1d54a7386aeeb27edcacb765d5bb228456d7 (patch)
tree89657792c1ddd6bd9c93a2e977c64ef881e8ad6a
parent0c46a90130c9367227e156236a469b208d741772 (diff)
downloadnohands-dd1b1d54a7386aeeb27edcacb765d5bb228456d7.tar.gz
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
-rw-r--r--libhfp/hfp.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}