summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorstewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501>2009-07-23 16:33:33 +0000
committerstewartamiles <stewartamiles@40f4469a-5155-0410-be90-2de3f0bae501>2009-07-23 16:33:33 +0000
commit5cb1a7d04547f26bfd3ce7b4faf6a35ae0d7cdfe (patch)
tree6a85dac85d55e0e57b000a98488bd295c0f5ceb7 /doc
parent843769fab51bcdc77bc012501ced646c20045259 (diff)
downloadcmocka-5cb1a7d04547f26bfd3ce7b4faf6a35ae0d7cdfe.tar.gz
cmocka-5cb1a7d04547f26bfd3ce7b4faf6a35ae0d7cdfe.tar.bz2
cmocka-5cb1a7d04547f26bfd3ce7b4faf6a35ae0d7cdfe.zip
Fixed cmockery "Issue 9: assert_macro.c"
Reported by khb.hnu, Apr 12, 2009 Line30: for (i = 0; i < sizeof(status_code_string) / sizeof(status_code_string[0]); change it as follow: for (i = 0; i < sizeof(status_code_strings) / sizeof(status_code_strings[0]); git-svn-id: http://cmockery.googlecode.com/svn/trunk@33 40f4469a-5155-0410-be90-2de3f0bae501
Diffstat (limited to 'doc')
-rw-r--r--doc/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/index.html b/doc/index.html
index 45554da..a4b897f 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -227,8 +227,8 @@ const char* get_status_code_string(const unsigned int status_code) {
unsigned int string_to_status_code(const char* const status_code_string) {
unsigned int i;
- for (i = 0; i < sizeof(status_code_string) / sizeof(status_code_string[0]);
- i++) {
+ for (i = 0; i < sizeof(status_code_strings) /
+ sizeof(status_code_strings[0]); i++) {
if (strcmp(status_code_strings[i], status_code_string) == 0) {
return i;
}
@@ -714,5 +714,5 @@ are provided as an example of Cmockery's features discussed in this document.
<hr>
<address></address>
-<!-- hhmts start --> Last modified: Tue Aug 26 09:33:31 PDT 2008 <!-- hhmts end -->
+<!-- hhmts start --> Last modified: Mon Jul 6 12:21:30 PDT 2009 <!-- hhmts end -->
</body> </html>