From 95cd931b918a07fcf12e48dce9665f3c90ab4130 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 29 Dec 2004 19:32:16 +0000 Subject: Fix typos --- test/scotest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/scotest.c') diff --git a/test/scotest.c b/test/scotest.c index 0c1ec130..eddd79af 100644 --- a/test/scotest.c +++ b/test/scotest.c @@ -101,7 +101,7 @@ static int do_connect(char *svr) memset(&conn, 0, sizeof(conn)); opt = sizeof(conn); - if (getsockopt(s, SOL_L2CAP, SCO_CONNINFO, &conn, &opt) < 0) { + if (getsockopt(s, SOL_SCO, SCO_CONNINFO, &conn, &opt) < 0) { syslog(LOG_ERR, "Can't get SCO connection information. %s(%d)", strerror(errno), errno); close(s); return -1; -- cgit