From: Michael Tremer Date: Tue, 1 Jul 2025 08:08:35 +0000 (+0000) Subject: client: Send our version when connecting the control socket X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95e2db44672a7d9bdf0e290615035fdb2499d43b;p=pakfire.git client: Send our version when connecting the control socket Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/client.c b/src/pakfire/client.c index 97716bbe..3f8dd3a0 100644 --- a/src/pakfire/client.c +++ b/src/pakfire/client.c @@ -812,6 +812,11 @@ int pakfire_client_builder_connect(pakfire_client* self, pakfire_builder* builde if (r < 0) goto ERROR; + // Send our version + r = pakfire_xfer_add_query(xfer, "version", "%s", PACKAGE_FULLVERSION); + if (r < 0) + goto ERROR; + // Fetch the builder's architecture arch = pakfire_builder_get_arch(builder);