Fork of mbed-http
Fork of mbed-http by
Revision 8:6156404278bb, committed 2017-03-02
- Comitter:
- Jan Jongboom
- Date:
- Thu Mar 02 11:50:38 2017 +0100
- Parent:
- 7:2e3eedb9ca5c
- Child:
- 9:1289162d9530
- Commit message:
- Implement tolower, so ARMCC can compile the library too
Changed in this revision
| source/http_response.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/http_response.h Fri Feb 24 11:20:16 2017 +0100
+++ b/source/http_response.h Thu Mar 02 11:50:38 2017 +0100
@@ -170,6 +170,15 @@
}
}
+ char tolower(char c) {
+ if(('A' <= c) && (c <= 'Z')) {
+ printf("toLower %c %c\n", c, 'a' + (c - 'A'));
+ return 'a' + (c - 'A');
+ }
+
+ return c;
+ }
+
int status_code;
string status_message;
Matthew Else
