comparison extensions/app_sip/registrationtermination.c @ 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 b3d623f04b6d
children
comparison
equal deleted inserted replaced
1415:3d7108b831e1 1416:a2ce56c34dd8
112 if(structure->sip_aor3[0]!='\0') 112 if(structure->sip_aor3[0]!='\0')
113 num_aor++; 113 num_aor++;
114 } 114 }
115 } 115 }
116 116
117 if(structure->strreason!='\0') 117 if(structure->strreason[0]!='\0')
118 got_streason=1; 118 got_streason=1;
119 119
120 120
121 TRACE_DEBUG(FULL,"Request for %d SIP_AOR to be deregistred.",num_aor); 121 TRACE_DEBUG(FULL,"Request for %d SIP_AOR to be deregistred.",num_aor);
122 122
"Welcome to our mercurial repository"