summaryrefslogtreecommitdiff
path: root/comms/asterisk18/patches/patch-res_res__xmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/asterisk18/patches/patch-res_res__xmpp.c')
-rw-r--r--comms/asterisk18/patches/patch-res_res__xmpp.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/asterisk18/patches/patch-res_res__xmpp.c b/comms/asterisk18/patches/patch-res_res__xmpp.c
new file mode 100644
index 00000000000..aeb5665f9ed
--- /dev/null
+++ b/comms/asterisk18/patches/patch-res_res__xmpp.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-res_res__xmpp.c,v 1.1.1.1 2021/06/13 07:47:18 jnemeth Exp $
+
+--- res/res_xmpp.c.orig 2018-06-19 21:29:29.310245367 +0000
++++ res/res_xmpp.c
+@@ -3746,7 +3746,7 @@ static int xmpp_client_receive(struct as
+ /* if we stumble on the ending tag character,
+ we skip any whitespace that follows it*/
+ if (c == '>') {
+- while (isspace(buf[pos+1])) {
++ while (isspace((unsigned char)buf[pos+1])) {
+ pos++;
+ }
+ }