diff options
Diffstat (limited to '')
| -rw-r--r-- | src/nissy.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nissy.c b/src/nissy.c index 953471f..08cacf0 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 | } |
