Kaynağa Gözat

- "strlen(flat_escape) > 1" fix

Tomas Mandys 19 yıl önce
ebeveyn
işleme
e212931846
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      modules/db_flatstore/flatstore_mod.c

+ 1 - 1
modules/db_flatstore/flatstore_mod.c

@@ -130,7 +130,7 @@ static int mod_init(void)
 		return -1;
 	}
 
-	if (strlen(flat_escape) > 0) {
+	if (strlen(flat_escape) > 1) {
 		LOG(L_ERR, "flatstore:mod_init: Escape char has to be max. one character\n");
 		return -1;
 	}