diff options
Diffstat (limited to 'src/format.c')
-rw-r--r-- | src/format.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/format.c b/src/format.c index 8f42223..150fa42 100644 --- a/src/format.c +++ b/src/format.c @@ -4387,6 +4387,7 @@ format_format(struct plugin_state *state, } format_free_choicesp(choices); ret = NULL; + *data_length = 0; } free(buf); } while (i == -ENOBUFS); |