Browse Source

textops: simplify return code when removing via param

Daniel-Constantin Mierla 5 tháng trước cách đây
mục cha
commit
e9c519ad4d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 }
 
 /**