projects
/
fwknop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4cde315
)
minor memset value update 0 -> 0x0 to conform to other memset() calls
author
Michael Rash
<mbr@cipherdyne.org>
Sun, 5 Aug 2012 17:05:30 +0000 (13:05 -0400)
committer
Michael Rash
<mbr@cipherdyne.org>
Sun, 5 Aug 2012 17:05:30 +0000 (13:05 -0400)
client/http_resolve_host.c
patch
|
blob
|
history
diff --git
a/client/http_resolve_host.c
b/client/http_resolve_host.c
index
aaae946
..
a9b7be1
100644
(file)
--- a/
client/http_resolve_host.c
+++ b/
client/http_resolve_host.c
@@
-231,7
+231,7
@@
resolve_ip_http(fko_cli_options_t *options)
do
{
- memset(http_buf, 0, sizeof(http_buf));
+ memset(http_buf, 0x0, sizeof(http_buf));
bytes_read = recv(sock, http_buf, sizeof(http_buf), 0);
if ( bytes_read > 0 ) {
memcpy(&http_response[position], http_buf, bytes_read);