Skip to content

Commit

Permalink
relax sdb.text check
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Oct 13, 2023
1 parent 0cd3f43 commit 53ca23b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/text.c
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,6 @@ SDB_API bool sdb_text_check(Sdb *s, const char *file) {
if (*p == '=') {
has_eq = true;
} else if (*p == '\n') {
if (!has_eq) {
break;
}
has_nl = true;
} else if (!has_eq) {
if (*p < 10 || *p > '~') {
Expand Down

0 comments on commit 53ca23b

Please sign in to comment.