blob: caa0e263b542362345ff87a0693bb88ba985c032 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 2d33bc14c1ed37bcc50973740e432d6d894141b6 Mon Sep 17 00:00:00 2023
From: Yan <yanxk.fnst@fujitsu.com>
Date: Fri, 25 Aug 2023 10:03:15 +0800
Subject: [PATCH] boa: fix compat.h
fix this grammer mistake.
Upstream-Status: Pending
Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
---
src/compat.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compat.h b/src/compat.h
index b3be2e0..31b656a 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -117,7 +117,7 @@ char *strdup(char *s);
#endif
#ifdef HAVE_TM_GMTOFF
-#define TIMEZONE_OFFSET(foo) foo##->tm_gmtoff
+#define TIMEZONE_OFFSET(foo) (foo)->tm_gmtoff
#else
#define TIMEZONE_OFFSET(foo) timezone
#endif
--
2.25.1
|