commit: | d7b13cb4340b4a9c182962c7d451faecbe0948ab |
author: | Chip Black |
committer: | Chip Black |
date: | Sun Feb 27 04:50:25 2011 -0600 |
parents: | b8df1ce6b0bb9bd51d46b8ad6dce195122126d5a |
diff --git a/cgi/cgi_blerg.c b/cgi/cgi_blerg.c line changes: +1/-2 index 1bba24d..664d6a5 --- a/cgi/cgi_blerg.c +++ b/cgi/cgi_blerg.c
@@ -329,8 +329,7 @@ int main(int argc, char *argv[]) { auth_logout(username); respond_JSON_Success(); - } else if (strncmp(path, "/subscribe", 11) == 0 || strncmp(path, "/unsubscribe", 13) == 0) { - + } else if (strncmp(path, "/subscribe", 10) == 0 || strncmp(path, "/unsubscribe", 12) == 0) { const char *username = cgi_getentrystr("username"); if (!check_auth(username)) exit(0);