diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-03-15 20:16:21 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-03-15 20:16:21 +0000 |
commit | 97cb49f1c40856804ccac5925459187b4d3724bb (patch) | |
tree | acf3fbd4f163ccf1970d0fc61efc6801c1da0dec /src/ellinika | |
parent | 150f2f64e4e580c0d6ab75d4bee150a4369cc4f1 (diff) | |
download | ellinika-97cb49f1c40856804ccac5925459187b4d3724bb.tar.gz ellinika-97cb49f1c40856804ccac5925459187b4d3724bb.tar.bz2 |
Update sql-error-handler definitions.
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@542 941c8c0f-9102-463b-b60b-cd22ce0e6858
Diffstat (limited to 'src/ellinika')
-rw-r--r-- | src/ellinika/dico.scm | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ellinika/dico.scm b/src/ellinika/dico.scm index 7c04db2..f9a6f63 100644 --- a/src/ellinika/dico.scm +++ b/src/ellinika/dico.scm @@ -26,10 +26,4 @@ -(define (sql-error-handler err descr) - (format #t "cannot connect to the database") - (with-output-to-port - (current-error-port) - (lambda () - (display err) - (display ": ") - (display descr)))) +(define (sql-error-handler key func fmt fmtargs data) + (apply format (current-error-port) fmt fmtargs)) |