aboutsummaryrefslogtreecommitdiff
path: root/src/nissy.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-09-27 09:11:04 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-09-27 09:11:04 +0200
commit15fe089b3e625cb6d3a19dee661f4fc9c6224699 (patch)
tree6be49cae0f97ef9d4a306b4e8491b81feb85693e /src/nissy.c
parent388b55b4ea644aa1b6074a70652b8f62e7755280 (diff)
parent5c22df4e8600d49983f008f22e942a2dd120ad9a (diff)
downloadnissy-core-15fe089b3e625cb6d3a19dee661f4fc9c6224699.tar.gz
nissy-core-15fe089b3e625cb6d3a19dee661f4fc9c6224699.zip
Merge branch 'master' of tronto.net:h48
Diffstat (limited to 'src/nissy.c')
-rw-r--r--src/nissy.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nissy.c b/src/nissy.c
index 2eed1b5..e610199 100644
--- a/src/nissy.c
+++ b/src/nissy.c
@@ -333,9 +333,12 @@ nissy_checkdata(
333 char *buf; 333 char *buf;
334 tableinfo_t info; 334 tableinfo_t info;
335 335
336 for (buf = (char *)data; readtableinfo(buf, &info); buf += info.next) 336 for (buf = (char *)data; readtableinfo(buf, &info); buf += info.next) {
337 if (!checkdata(buf, &info)) 337 if (!checkdata(buf, &info))
338 return 1; 338 return 1;
339 if (info.next == 0)
340 break;
341 }
339 342
340 return 0; 343 return 0;
341} 344}

Generated with cgit - Back to sebastiano.tronto.net