Update client.cc

This commit is contained in:
xiehan
2021-12-16 15:55:25 +08:00
committed by GitHub
parent ab5953da28
commit 1035b8352e

View File

@@ -85,7 +85,7 @@ int main(int argc, char *argv[])
printf("Input next request string (Ctrl-D to exit): ");
*buf = '\0';
scanf("%1024s", buf);
scanf("%1023s", buf);
body_size = strlen(buf);
if (body_size > 0)
{