2
0
Эх сурвалжийг харах

textops: simplify return code when removing via param

(cherry picked from commit e9c519ad4d49b8c74069577edb84ce02a5e63ee0)
Daniel-Constantin Mierla 5 сар өмнө
parent
commit
2ee3ce3efa

+ 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;
 }
 
 /**