Fixed wrong hsts protocol comparison (#146).
authorDaniel Carl <danielcarl@gmx.de>
Thu, 27 Nov 2014 21:16:42 +0000 (22:16 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 27 Nov 2014 21:25:33 +0000 (22:25 +0100)
commit279c46e6a2384017fe841bc46c4ce3a9844b5e3e
tree77defaf855fd010977ae1f7f38b19588061ba5f7
parentde2521138fa86923351c592886333db46d47e1bf
Fixed wrong hsts protocol comparison (#146).

The uri->scheme isn't a integer value like expected, so we have to use
strcmp() to compare it with the constant.
src/hsts.c