From: Michael Tremer Date: Fri, 10 Jul 2026 12:43:52 +0000 (+0000) Subject: request: Use the correct type for unix sockets X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=525a9a2eee6b443dbef969fb3ef41511fb6de7de;p=telemetry.git request: Use the correct type for unix sockets Signed-off-by: Michael Tremer --- diff --git a/src/daemon/request.c b/src/daemon/request.c index 225a135..d99c858 100644 --- a/src/daemon/request.c +++ b/src/daemon/request.c @@ -283,7 +283,7 @@ int td_request_set_socket(td_request* self, const char* path) { int r; // Set the socket path - r = curl_easy_setopt(self->handle, CURLOPT_ABSTRACT_UNIX_SOCKET, path); + r = curl_easy_setopt(self->handle, CURLOPT_UNIX_SOCKET_PATH, path); if (r < 0) { ERROR(self->ctx, "Failed to set socket: %s\n", curl_easy_strerror(r)); return -EINVAL;