summaryrefslogtreecommitdiff
path: root/databases/dbconnect/files/patch-src::dbconnect::dbconnect.cpp
blob: 82d955694ea5dc1d48a64d1eecfbf04a6aeecc9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- src/dbconnect/dbconnect.cpp.orig	Mon Aug  9 15:54:42 2004
+++ src/dbconnect/dbconnect.cpp	Mon Aug  9 15:56:41 2004
@@ -117,7 +117,7 @@
 //------------------------------------------------------------------------------
 DbConnection::DbConnection(
          Driver driver, 
-         const string &configFile)
+         const string &cfgFile)
 :
    ptr_getAuthor(NULL),
    ptr_getVendor(NULL),
@@ -147,10 +147,10 @@
 
 
    // 1. Use the file iif given in configFile param.
-   if (configFile.length() > 0)
+   if (cfgFile.length() > 0)
    {
       // Try and read the information from the config file.
-      ConfigFile configFile(configFile.c_str());
+      ConfigFile configFile(cfgFile.c_str());
       configFile.read();
 
       if (configFile.hasKeyName("dbconnect", "driverPath"))