aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cdr/cdr_tds.c8
-rw-r--r--doc/tex/freetds.tex20
2 files changed, 9 insertions, 19 deletions
diff --git a/cdr/cdr_tds.c b/cdr/cdr_tds.c
index 2f17cac2d..9688c167c 100644
--- a/cdr/cdr_tds.c
+++ b/cdr/cdr_tds.c
@@ -299,10 +299,10 @@ static int mssql_connect(void)
}
DBSETLAPP(login, "TSQL");
- DBSETLUSER(login, settings->username);
- DBSETLPWD(login, settings->password);
- DBSETLCHARSET(login, settings->charset);
- DBSETLNATLANG(login, settings->language);
+ DBSETLUSER(login, (char *) settings->username);
+ DBSETLPWD(login, (char *) settings->password);
+ DBSETLCHARSET(login, (char *) settings->charset);
+ DBSETLNATLANG(login, (char *) settings->language);
if ((settings->dbproc = dbopen(login, (char *) settings->hostname)) == NULL) {
ast_log(LOG_ERROR, "Unable to connect to %s\n", settings->hostname);
diff --git a/doc/tex/freetds.tex b/doc/tex/freetds.tex
index 8dcbec29a..8db589f09 100644
--- a/doc/tex/freetds.tex
+++ b/doc/tex/freetds.tex
@@ -1,16 +1,6 @@
-The cdr\_tds module is NOT compatible with version 0.63 of FreeTDS.
-
-The cdr\_tds module is known to work with FreeTDS version 0.62.1;
-it should also work with 0.62.2, 0.62.3 and 0.62.4, which are bug
-fix releases.
-
-The cdr\_tds module uses the raw "libtds" API of FreeTDS. It appears
-that from 0.63 onwards, this is not considered a published API
-of FreeTDS and is subject to change without notice.
-
-Between 0.62.x and 0.63 of FreeTDS, many incompatible changes
-have been made to the libtds API.
-
-For newer versions of FreeTDS, it is recommended that you use the
-ODBC driver.
+The cdr\_tds module now works with most modern release versions of FreeTDS (from
+at least 0.60 through 0.82). Although versions of FreeTDS prior to 0.82 will
+work, we recommend using the latest available version for performance and
+stability reasons.
+The latest release of FreeTDS is available from http://www.freetds.org/