Fix uninitialized buffer in irc client

This commit is contained in:
K. Lange 2018-09-14 10:34:12 +09:00
parent 1b030089e7
commit ec8b2a3c4f
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ int main(int argc, char * argv[]) {
memset(net_buf, 0, 2048);
int net_buf_p = 0;
char buf[1024];
char buf[1024] = {0};
int buf_p = 0;
while (1) {