Commit b118b047854492794e2618b17edcf802e1acf3ad
1 parent
8f2980b5
Fix copy-paste error
Showing
1 changed file
with
1 additions
and
1 deletions
client.h
| @@ -74,7 +74,7 @@ class Client | @@ -74,7 +74,7 @@ class Client | ||
| 74 | return; | 74 | return; |
| 75 | 75 | ||
| 76 | const size_t newBufSize = writeBufsize + add_size; | 76 | const size_t newBufSize = writeBufsize + add_size; |
| 77 | - writebuf = (char*)realloc(readbuf, newBufSize); | 77 | + writebuf = (char*)realloc(writebuf, newBufSize); |
| 78 | writeBufsize = newBufSize; | 78 | writeBufsize = newBufSize; |
| 79 | } | 79 | } |
| 80 | 80 |