... | ... |
@@ -521,7 +521,7 @@ int cli_scanxar(cli_ctx *ctx) |
521 | 521 |
rc = xar_scan_subdocuments(reader, ctx); |
522 | 522 |
if (rc != CL_SUCCESS) { |
523 | 523 |
cli_errmsg("xar_scan_subdocuments returns %i.\n", rc); |
524 |
- goto exit_toc; |
|
524 |
+ goto exit_reader; |
|
525 | 525 |
} |
526 | 526 |
|
527 | 527 |
/* Walk the TOC XML and extract files */ |