From 307c9e794f9c4f8dcfc91d97b12516f1d97ce96b Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Fri, 5 Nov 2010 00:14:38 +0100 Subject: [PATCH] New macro for putting a Citserver reply into important message: SRV_STATUS_MSG Use it like that: StrBuf_ServGetln(Line); if (GetServerStatus(Line, NULL) != 1) { AppendImportantMessage(SRV_STATUS_MSG(Line)); --- webcit/webcit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/webcit.h b/webcit/webcit.h index c00cf59e1..51976a518 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -221,7 +221,7 @@ extern char *ssl_cipher_list; - +#define SRV_STATUS_MSG(ServerLineBuf) (ChrPtr(ServerLineBuf) + 4), (StrLength(ServerLineBuf) - 4) #define MAJORCODE(a) (((int)(a / 100) ) * 100) #define LISTING_FOLLOWS 100 -- 2.39.2