From d92564c87818157b09ddfbf3314406b765ca390a Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 17 Aug 2004 20:59:04 +0000 Subject: - Changed 'goto finally' to RETURN(xx) - Added MYSQL support and tested it. --- daemon/usuals.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'daemon/usuals.h') 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 -- cgit v1.2.3