summaryrefslogtreecommitdiff
path: root/process_multiples.c
diff options
context:
space:
mode:
Diffstat (limited to 'process_multiples.c')
-rw-r--r--process_multiples.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/process_multiples.c b/process_multiples.c
index 0acd82d..5abbdfa 100644
--- a/process_multiples.c
+++ b/process_multiples.c
@@ -33,9 +33,10 @@ uint64_t call_L_plus_minus_continue(char *multiple) {
uint64_t call_L_only(uint64_t focus, uint64_t Flines) {
- char buf[32] = { '\0' };
+ char buf[33] = { '\0' };
fprintf(stdout, "(L): ");
- fgets(buf, 30, stdin);
+ fgets(buf, 32, stdin);
+ if(check_length_fix_stdin(buf) == _FAIL) { return _FAIL; }
if (buf[0] == '\n') {
return focus;