aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mds-clipboard.c4
-rw-r--r--src/mds-kkbd.c4
-rw-r--r--src/mds-registry/registry.c4
-rw-r--r--src/mds-vt.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/src/mds-clipboard.c b/src/mds-clipboard.c
index 1e47532..1d4de37 100644
--- a/src/mds-clipboard.c
+++ b/src/mds-clipboard.c
@@ -444,8 +444,8 @@ int handle_message(void)
size_t i;
int level;
-#define __get_header(storage, header) \
- (startswith(received.headers[i], header)) \
+#define __get_header(storage, header) \
+ (startswith(received.headers[i], header)) \
storage = received.headers[i] + strlen(header)
for (i = 0; i < received.header_count; i++)
diff --git a/src/mds-kkbd.c b/src/mds-kkbd.c
index 900bff8..73dbc8a 100644
--- a/src/mds-kkbd.c
+++ b/src/mds-kkbd.c
@@ -516,8 +516,8 @@ int handle_message(void)
const char* recv_action = NULL;
size_t i;
-#define __get_header(storage, header) \
- (startswith(received.headers[i], header)) \
+#define __get_header(storage, header) \
+ (startswith(received.headers[i], header)) \
storage = received.headers[i] + strlen(header)
for (i = 0; i < received.header_count; i++)
diff --git a/src/mds-registry/registry.c b/src/mds-registry/registry.c
index 23eeafe..2d0643f 100644
--- a/src/mds-registry/registry.c
+++ b/src/mds-registry/registry.c
@@ -414,8 +414,8 @@ static int handle_register_message(void)
const char* recv_action = NULL;
size_t i, length = 0;
-#define __get_header(storage, header) \
- (startswith(received.headers[i], header)) \
+#define __get_header(storage, header) \
+ (startswith(received.headers[i], header)) \
storage = received.headers[i] + strlen(header)
for (i = 0; i < received.header_count; i++)
diff --git a/src/mds-vt.c b/src/mds-vt.c
index 01b7b7c..c0a13ef 100644
--- a/src/mds-vt.c
+++ b/src/mds-vt.c
@@ -558,8 +558,8 @@ int handle_message(void)
const char* recv_command = NULL;
size_t i;
-#define __get_header(storage, header) \
- (startswith(received.headers[i], header)) \
+#define __get_header(storage, header) \
+ (startswith(received.headers[i], header)) \
storage = received.headers[i] + strlen(header)
for (i = 0; i < received.header_count; i++)