cli : fix : --rm is silent when input is stdin

previously, app would produce an error message, and stop.
This commit is contained in:
Yann Collet committed 2017-02-27 15:57:50 -08:00
1 parent b78f211068
commit dccd6b6f65
3 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -248,7 +248,7 @@ static size_t ZSTD_continueCCtx(ZSTD_CCtx* cctx, ZSTD_parameters params, U64 fra
typedef enum { ZSTDcrp_continue, ZSTDcrp_noMemset, ZSTDcrp_fullReset } ZSTD_compResetPolicy_e;
/*! ZSTD_resetCCtx_advanced() :
note : 'params' must be validated */
note : @params must be validated */
static size_t ZSTD_resetCCtx_advanced (ZSTD_CCtx* zc,
ZSTD_parameters params, U64 frameContentSize,
ZSTD_compResetPolicy_e const crp)