diff options
author | Stef Walter <stef@memberwebs.com> | 2004-08-17 20:59:04 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-08-17 20:59:04 +0000 |
commit | d92564c87818157b09ddfbf3314406b765ca390a (patch) | |
tree | dc37024dded77c30d769852cce0952f1b886f36c /daemon/usuals.h | |
parent | 4af582bf3aa65e0a4ebb5723047c4d1e94d12f15 (diff) |
- Changed 'goto finally' to RETURN(xx)
- Added MYSQL support and tested it.
Diffstat (limited to 'daemon/usuals.h')
-rw-r--r-- | daemon/usuals.h | 2 |
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 |