From 1d731c6d2ad10cf3e40912c92aa917dd17f3e793 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Thu, 14 Jul 2005 20:08:31 +0000 Subject: [PATCH] clarify comment git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6128 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- cdr/cdr_odbc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cdr/cdr_odbc.c b/cdr/cdr_odbc.c index c3f2a48ce1..b7a7d1a6ac 100755 --- a/cdr/cdr_odbc.c +++ b/cdr/cdr_odbc.c @@ -406,7 +406,8 @@ static int odbc_init(void) SQLSetConnectAttr(ODBC_con, SQL_LOGIN_TIMEOUT, (SQLPOINTER *)10, 0); } - /* XXX note username and password could be NULL here */ + /* Note that the username and password could be NULL here, but that is allowed in ODBC. + In this case, the default username and password will be used from odbc.conf */ ODBC_res = SQLConnect(ODBC_con, (SQLCHAR*)dsn, SQL_NTS, (SQLCHAR*)username, SQL_NTS, (SQLCHAR*)password, SQL_NTS); if ((ODBC_res != SQL_SUCCESS) && (ODBC_res != SQL_SUCCESS_WITH_INFO)) {