ODBC driver dialog enhancements

This commit is contained in:
whydoubt 2004-04-13 03:05:20 +00:00
parent 222bbcdd01
commit 4b0f1c913c
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,6 @@
Mon Apr 12 21:58:00 CDT 2004 Jeff Smith <whydoubt@yahoo.com>
* src/odbc/connectparams.c: ODBC driver dialog enhancements
Mon Apr 12 09:56:23 EDT 2004 Brian Bruns <brian@bruns.com>
* include/mdbtools:
* src/libmdb/mem.c:

View File

@ -104,7 +104,7 @@ int LoadDSN (
{
if (!FindSection (stream, dsnName))
{
g_printerr ("Couldn't find DSN %s in %s\n", iniFileName, dsnName);
g_printerr ("Couldn't find DSN %s in %s\n", dsnName, iniFileName);
fclose (stream);
return 0;
}
@ -128,7 +128,7 @@ int LoadDSN (
gboolean LookupDSN (ConnectParams* params, const gchar* dsnName)
{
if (!params) {
fprintf(stderr,"LookupDSN: no parameters, returning FALSE");
fprintf(stderr,"LookupDSN: no parameters, returning FALSE\n");
return FALSE;
}
/*
@ -139,12 +139,12 @@ gboolean LookupDSN (ConnectParams* params, const gchar* dsnName)
* Search for the ODBC ini file
*/
if (!(params->iniFileName = GetIniFileName ())) {
fprintf(stderr,"LookupDSN: GetIniFileName returned FALSE");
fprintf(stderr,"LookupDSN: GetIniFileName returned FALSE\n");
return FALSE;
}
if (!LoadDSN (params->iniFileName->str, dsnName, params->table)) {
fprintf(stderr,"LookupDSN: LoadDSN returned FALSE");
fprintf(stderr,"LookupDSN: LoadDSN returned FALSE\n");
return FALSE;
}