aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-03-18 14:56:16 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-03-18 14:56:16 +0000
commit6b2b4167187fee09365271cca182866ecb029af3 (patch)
treea085717bc896b25ff4280eb86abecca0d5c36767 /src/worker.c
parent47bcfc8360dfa1754474580e779314b8d6a78da6 (diff)
downloadrspamd-6b2b4167187fee09365271cca182866ecb029af3.tar.gz
rspamd-6b2b4167187fee09365271cca182866ecb029af3.zip
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/worker.c b/src/worker.c
index 8f99ad512..f734fe41c 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -1,11 +1,11 @@
-/*-
- * Copyright 2016 Vsevolod Stakhov
+/*
+ * Copyright 2024 Vsevolod Stakhov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -67,7 +67,7 @@ worker_t normal_worker = {
__VA_ARGS__)
struct rspamd_worker_session {
- gint64 magic;
+ int64_t magic;
struct rspamd_task *task;
gint fd;
rspamd_inet_addr_t *addr;
@@ -226,7 +226,7 @@ rspamd_worker_error_handler(struct rspamd_http_connection *conn, GError *err)
* Hence, we need to distinguish our arguments...
*
* The approach here is simple:
- * - struct rspamd_worker_session starts with gint64 `magic` and we set it to
+ * - struct rspamd_worker_session starts with int64_t `magic` and we set it to
* MAX_INT64
* - struct rspamd_task starts with a pointer (or pointer + command on 32 bit system)
*