summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pamment <apamment@yandex.com>2018-12-22 20:48:26 +1000
committerAndrew Pamment <apamment@yandex.com>2018-12-22 20:48:26 +1000
commit3a184193baba843345d808121e01d608a2950c28 (patch)
tree8ef698956e04fd7135d6345de840db95f99a0664
parent4fed7420beaa04489d4666af737ccfa64dcc8229 (diff)
Fix email on web side
-rw-r--r--src/www.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/www.c b/src/www.c
index d801b69..c0de221 100644
--- a/src/www.c
+++ b/src/www.c
@@ -521,7 +521,7 @@ int www_handler(void *cls, struct MHD_Connection *connection, const char *url, c
return MHD_YES;
}
email = strtol(&url[7], &endptr, 10);
- if (endptr = &url[7]) {
+ if (endptr == &url[7]) {
free(header);
free(footer);
return MHD_NO;