[freetds] [patch] fix for unmatched parenthesis
Mark Brand
mabrand at mabrand.nl
Sat May 1 17:15:38 EDT 2010
diff -u -r1.197 mem.c
--- src/tds/mem.c 30 Apr 2010 21:59:43 -0000 1.197
+++ src/tds/mem.c 1 May 2010 21:02:13 -0000
@@ -701,7 +701,7 @@
#if HAVE_NL_LANGINFO && defined(CODESET)
locale->client_charset = nl_langinfo(CODESET);
#else
- if ((lc_all = strdup(setlocale(LC_ALL, NULL)) == NULL)
+ if ((lc_all = strdup(setlocale(LC_ALL, NULL))) == NULL)
goto Cleanup;
if (strtok(lc_all, ".")) {
More information about the FreeTDS
mailing list