aboutsummaryrefslogtreecommitdiffstats
path: root/cdr/cdr_odbc.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-14 20:08:31 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-14 20:08:31 +0000
commitaf70c4b702dfa60410c03b00af1d219c13ffcf32 (patch)
treedf40157d83f4287432d138426c15a03dbb210d8c /cdr/cdr_odbc.c
parente5342152773fcdc9bc3be5bc3cf81719fc84eed5 (diff)
clarify comment
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6128 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cdr/cdr_odbc.c')
-rwxr-xr-xcdr/cdr_odbc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cdr/cdr_odbc.c b/cdr/cdr_odbc.c
index c3f2a48ce..b7a7d1a6a 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)) {