提交 0177d7b2 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-4998 --resolve

上级 2bb859e2
...@@ -526,7 +526,11 @@ int sofia_reg_find_reg_with_positive_expires_callback(void *pArg, int argc, char ...@@ -526,7 +526,11 @@ int sofia_reg_find_reg_with_positive_expires_callback(void *pArg, int argc, char
long int expires; long int expires;
char *contact = NULL; char *contact = NULL;
if (argv[0] && cbt->contact_str && !strcasecmp(argv[0], cbt->contact_str)) { if (zstr(argv[0])) {
return 0;
}
if (cbt->contact_str && !strcasecmp(argv[0], cbt->contact_str)) {
expires = cbt->exptime; expires = cbt->exptime;
} else { } else {
expires = atol(argv[1]) - 60 - (long) cbt->time; expires = atol(argv[1]) - 60 - (long) cbt->time;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论