Signed-off-by: Jan Friesse <[email protected]>
---
 test/testcpgzc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/testcpgzc.c b/test/testcpgzc.c
index 5b496a8..14f621d 100644
--- a/test/testcpgzc.c
+++ b/test/testcpgzc.c
@@ -218,7 +218,7 @@ int main (int argc, char *argv[]) {
                        perror ("select\n");
                }
                if (FD_ISSET (STDIN_FILENO, &read_fds)) {
-                       fgets_res = fgets(buffer, sizeof(buffer), stdin);
+                       fgets_res = fgets(buffer, 8192, stdin);
                        if (fgets_res == NULL) {
                                cpg_leave(handle, &group_name);
                        }
-- 
1.7.1

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to