X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/9b3fc4790b2473b23c69c0e70710e1e66a038f28..d92cb917ebcd7e8e1b78ec2e9e1ad2ae1ef8e8e4:/sbr/oauth.c?ds=sidebyside diff --git a/sbr/oauth.c b/sbr/oauth.c index aef18ba4..0cda2bfa 100755 --- a/sbr/oauth.c +++ b/sbr/oauth.c @@ -196,7 +196,7 @@ static boolean is_json(const char *content_type) { return content_type != NULL - && strncasecmp(content_type, JSON_TYPE, sizeof JSON_TYPE - 1) == 0; + && strncasecmp(content_type, JSON_TYPE, LEN(JSON_TYPE)) == 0; } static void