summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;