# HG changeset patch # User Luke Mewburn # Date 1582014788 -39600 # Node ID a2ce56c34dd88e479640f25849018f6f1933268d # Parent 3d7108b831e1c87325f94f6110e7dad2f5681170 app_sip: fix RTR handling Fix check for empty strreason. (detected by Apple clang 11.0.0) diff -r 3d7108b831e1 -r a2ce56c34dd8 extensions/app_sip/registrationtermination.c --- 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;