X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=src%2Furl.c;h=18b73977d8eaabd19321ead745bcccceb4bc1e80;hb=22055d604b1207680ded02d98715df5cafdf8648;hp=a7a5c0c7435335901841c6b67d65f44c0de326b0;hpb=4b8ad1b3b464836eca2e876dd418a8e8d87bd721;p=smdp.git diff --git a/src/url.c b/src/url.c index a7a5c0c..18b7397 100644 --- a/src/url.c +++ b/src/url.c @@ -1,6 +1,6 @@ /* * Functions necessary to handle pandoc URLs. - * Copyright (C) 2014 Michael Goehler + * Copyright (C) 2015 Michael Goehler * * This file is part of mdp. * @@ -178,9 +178,9 @@ int url_count_inline(const wchar_t *line) { return count; } -int url_len_inline(const wchar_t *text) { +int url_len_inline(const wchar_t *value) { int count = 0; - const wchar_t *i = text; + const wchar_t *i = value; for (; *i; i++) { if (*i == '\\') {