summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2008-10-17 17:30:47 -0700
committerPixel <pixel@nobis-crew.org>2008-10-17 17:30:47 -0700
commit9e15fad9dd5cdf5f9528dbb8c6b1a864ae94632d (patch)
treec12ca3feb18ab7f114516b4e087821e60bac1f89 /lib
parent331684095ba8d7634f5c4523e7494ca519d7c609 (diff)
parent9b3ff53ffc285a501a20dddf4c6aaf4d9836d5fe (diff)
Merge branch 'master' of ssh+git://git-g/pub/repo.git/Baltisot
Diffstat (limited to 'lib')
-rw-r--r--lib/MailServer.cc2
-rw-r--r--lib/dblib.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/MailServer.cc b/lib/MailServer.cc
index 0f5194c..c0e3607 100644
--- a/lib/MailServer.cc
+++ b/lib/MailServer.cc
@@ -51,7 +51,7 @@ class ProcessSMTPRequest : public Task {
static Regex single_dot("^\\.$"), dotted_line("^\\..+$");
-int ProcessSMTPRequest::Do() {
+int ProcessSMTPRequest::Do() throw (GeneralException) {
String l, cmd;
Buffer * out;
diff --git a/lib/dblib.lua b/lib/dblib.lua
index 5466334..85fc15a 100644
--- a/lib/dblib.lua
+++ b/lib/dblib.lua
@@ -678,7 +678,7 @@ _luadb = {
end
if r ~= 0 and db._.conn:ErrNO() == 2006 then -- disconnected
- db._.conn = db:opendb()
+ db._.conn = luadb:opendb(db)._.conn
r = db._.conn:Query(str)
end