]> git.ipfire.org Git - telemetry.git/commitdiff
request: Use the correct type for unix sockets
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 10 Jul 2026 12:43:52 +0000 (12:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 10 Jul 2026 12:43:52 +0000 (12:43 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/daemon/request.c

index 225a1351b9f89305ab4da021b100d456a7a8ae1e..d99c858e45f80ceb8a63ca8c6565580af5930445 100644 (file)
@@ -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;