more handlers
Dependents: bandwidth-meter-net mbedRail24v
Fork of Tiny-HTTPD by
Diff: HTTPD_util.cpp
- Revision:
- 3:145c65ab9805
- Parent:
- 2:905fe8dfebd6
--- a/HTTPD_util.cpp Tue Feb 04 03:07:05 2014 +0000 +++ b/HTTPD_util.cpp Fri May 30 03:55:43 2014 +0000 @@ -84,7 +84,7 @@ int i; for (i = 0; i < _handler_count; i ++) { - if (strncmp(uri, _handler[i].uri, strlen(_handler[i].uri)) == NULL) { + if (strncmp(uri, _handler[i].uri, strlen(_handler[i].uri)) == 0) { // found return i; }