浏览代码

textops: simplify return code when removing via param

(cherry picked from commit e9c519ad4d49b8c74069577edb84ce02a5e63ee0)
Daniel-Constantin Mierla 5 月之前
父节点
当前提交
2ee3ce3efa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/textops/textops.c

+ 1 - 1
src/modules/textops/textops.c

@@ -5037,7 +5037,7 @@ static int ki_via_param_rm(sip_msg_t *msg, str *name, int idx)
 			}
 		}
 	}
-	return (ret == 0) ? -1 : ret;
+	return -1;
 }
 
 /**