summaryrefslogtreecommitdiff
path: root/daemon/usuals.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-08-17 20:59:04 +0000
committerStef Walter <stef@memberwebs.com>2004-08-17 20:59:04 +0000
commitd92564c87818157b09ddfbf3314406b765ca390a (patch)
treedc37024dded77c30d769852cce0952f1b886f36c /daemon/usuals.h
parent4af582bf3aa65e0a4ebb5723047c4d1e94d12f15 (diff)
- Changed 'goto finally' to RETURN(xx)
- Added MYSQL support and tested it.
Diffstat (limited to 'daemon/usuals.h')
-rw-r--r--daemon/usuals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/usuals.h b/daemon/usuals.h
index 97d355b..020db4a 100644
--- a/daemon/usuals.h
+++ b/daemon/usuals.h
@@ -28,6 +28,8 @@
#define countof(x) (sizeof(x) / sizeof(x[0]))
+#define RETURN(x) { ret = (x); goto finally; }
+
#ifdef _DEBUG
#include "assert.h"
#define ASSERT assert