소스 검색

- wrong array index fixed

Jan Janak 17 년 전
부모
커밋
c42475fa63
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/db_flatstore/flat_con.c

+ 1 - 1
modules/db_flatstore/flat_con.c

@@ -274,7 +274,7 @@ int flat_open_table(int* idx, db_con_t* con, str* name)
 				return -1;
 			}			
 		} else {
-			new[fcon->n].f = NULL;
+			new->f = NULL;
 		}
 		
 		*idx = fcon->n - 1;