summary refs log tree commit diff stats
path: root/lib/impure
diff options
context:
space:
mode:
authorAndreas Rumpf <andreas@andreas-desktop>2009-12-09 00:41:55 +0100
committerAndreas Rumpf <andreas@andreas-desktop>2009-12-09 00:41:55 +0100
commitf265c3e866616d98ff117243d05f88f1a0782ea2 (patch)
tree40e58cdd68a852a28378addb6c24f5292b33b860 /lib/impure
parentbfef39246055769ae400c3db4c462bc947222d2c (diff)
downloadNim-f265c3e866616d98ff117243d05f88f1a0782ea2.tar.gz
bugfix: inconsequent tuple usage
Diffstat (limited to 'lib/impure')
-rwxr-xr-xlib/impure/db_postgres.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/db_postgres.nim b/lib/impure/db_postgres.nim
index b9d0b068f..7cd93a540 100755
--- a/lib/impure/db_postgres.nim
+++ b/lib/impure/db_postgres.nim
@@ -164,7 +164,7 @@ proc dbClose*(db: TDbConn) =
   if db != nil: PQfinish(db)
 
 proc dbOpen*(connection, user, password, database: string): TDbConn =
-  ## opens a database connection. Returns nil in case of an error.
+  ## opens a database connection.
   result = PQsetdbLogin(nil, nil, nil, nil, database, user, password)
   if PQStatus(result) != CONNECTION_OK: dbError(result) # result = nil