瀏覽代碼

fix typo on sanity checks module

Alessio Garzi 5 月之前
父節點
當前提交
3b48fff143
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/sanity/sanity.c

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

@@ -813,7 +813,7 @@ int check_parse_uris(sip_msg_t *msg, int checks)
 			if(!msg->to || !msg->to->body.s) {
 				msg->msg_flags |= FL_MSG_NOREPLY;
 			} else {
-				if(sanity_reply(msg, 400, "Ivalid To Header") < 0) {
+				if(sanity_reply(msg, 400, "Invalid To Header") < 0) {
 					LM_WARN("failed to send 400 via sl reply (missing To)\n");
 				}
 			}