diff options
Diffstat (limited to 'comms/asterisk18/patches/patch-apps_app__chanspy.c')
-rw-r--r-- | comms/asterisk18/patches/patch-apps_app__chanspy.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/asterisk18/patches/patch-apps_app__chanspy.c b/comms/asterisk18/patches/patch-apps_app__chanspy.c new file mode 100644 index 00000000000..1db5ef7ff98 --- /dev/null +++ b/comms/asterisk18/patches/patch-apps_app__chanspy.c @@ -0,0 +1,13 @@ +$NetBSD: patch-apps_app__chanspy.c,v 1.1.1.1 2021/06/13 07:47:18 jnemeth Exp $ + +--- apps/app_chanspy.c.orig 2018-05-07 17:20:13.916423247 +0000 ++++ apps/app_chanspy.c +@@ -1105,7 +1105,7 @@ static int common_exec(struct ast_channe + if ((ptr = strchr(peer_name, '/'))) { + *ptr++ = '\0'; + for (s = peer_name; s < ptr; s++) { +- *s = tolower(*s); ++ *s = tolower((unsigned char)*s); + } + if ((s = strchr(ptr, '-'))) { + *s = '\0'; |