Created
February 20, 2013 18:04
-
-
Save lwhsu/4997588 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/iocore/hostdb/I_HostDBProcessor.h b/iocore/hostdb/I_HostDBProcessor.h | |
index 1f9862a..3c2a290 100644 | |
--- a/iocore/hostdb/I_HostDBProcessor.h | |
+++ b/iocore/hostdb/I_HostDBProcessor.h | |
@@ -405,7 +405,7 @@ HostDBInfo() | |
, md5_low(0), md5_high(0) { | |
app.allotment.application1 = 0; | |
app.allotment.application2 = 0; | |
- memset(&data, sizeof(data), 0); | |
+ memset(&data, 0, sizeof(data)); | |
return; | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment