summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jones <daniel@danieljon.es>2019-03-07 00:09:22 -0500
committerDaniel Jones <daniel@danieljon.es>2019-03-07 00:09:22 -0500
commit8386f5eedc9bb157bfa4182203066ceeedbc718e (patch)
tree226c8d3b1d526a273e0b62c3f6523ad2d24d989a
parent33057fef12249184649c708d1665a31c60ddfc2c (diff)
downloadurlopener-8386f5eedc9bb157bfa4182203066ceeedbc718e.tar.gz
urlopener-8386f5eedc9bb157bfa4182203066ceeedbc718e.zip
semantics
-rw-r--r--urlopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/urlopen.c b/urlopen.c
index d70c7b9..3636cca 100644
--- a/urlopen.c
+++ b/urlopen.c
@@ -76,7 +76,7 @@ getext(char *url)
* check if the extension of the url (if exists) is in our array
* if it is, return the index on the array, otherwise 0
*/
- int ret = 0;
+ int ret = 0;
char *p = NULL;
if ((p = strrchr(url, '.')+1))
{