From 8112b8c84babdc708bdc8875338b8d2d1bf29abf Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 9 Mar 2020 11:24:14 +0100 Subject: [PATCH] Use proper OS names for OpenBSD and NetBSD --- src/xmpp/iq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index 02f59b3f..07a68bce 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -1619,9 +1619,9 @@ _version_get_handler(xmpp_stanza_t *const stanza) #elif defined(__FreeBSD__) xmpp_stanza_set_text(os_txt, "FreeBSD"); #elif defined(__NetBSD__) - xmpp_stanza_set_text(os_txt, "__NetBSD__"); + xmpp_stanza_set_text(os_txt, "NetBSD"); #elif defined(__OpenBSD__) - xmpp_stanza_set_text(os_txt, "__OpenBSD__"); + xmpp_stanza_set_text(os_txt, "OpenBSD"); #else xmpp_stanza_set_text(os_txt, "Unknown"); #endif