changeset 1416:a2ce56c34dd8

app_sip: fix RTR handling Fix check for empty strreason. (detected by Apple clang 11.0.0)
author Luke Mewburn <luke@mewburn.net>
date Tue, 18 Feb 2020 19:33:08 +1100
parents 3d7108b831e1
children 0918e88f7c33
files extensions/app_sip/registrationtermination.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/app_sip/registrationtermination.c	Tue Feb 18 19:08:29 2020 +1100
+++ b/extensions/app_sip/registrationtermination.c	Tue Feb 18 19:33:08 2020 +1100
@@ -114,7 +114,7 @@
 		}
 	}
 	
-	if(structure->strreason!='\0')
+	if(structure->strreason[0]!='\0')
 		got_streason=1;
 	
 	
"Welcome to our mercurial repository"