commit 0adbe16fc07c64eb9cb843c485fd87d3d71658c1
parent 317d0e628785db418f42cb7255fb6413d57f3daf
Author: cfillion <cfillion@users.noreply.github.com>
Date: Tue, 24 Nov 2015 01:28:13 -0500
s/zero-terminated/null-terminated
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/download.cpp b/src/download.cpp
@@ -133,7 +133,7 @@ DWORD WINAPI Download::worker(void *ptr) // static
char *buffer = new char[size + 1];
agent.get_bytes(buffer, size);
- // get_bytes doesn't zero-terminate the string
+ // get_bytes doesn't put a null byte at the end of the string
// without the next line strlen(buffer) cound be anything
buffer[size] = '\0';