projects
/
platform
/
upstream
/
libsoup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb84047
)
soup-tld: fix a return-if-fail check
author
Dan Winship
<danw@gnome.org>
Tue, 4 Dec 2012 16:44:53 +0000
(11:44 -0500)
committer
Dan Winship
<danw@gnome.org>
Tue, 4 Dec 2012 16:45:13 +0000
(11:45 -0500)
libsoup/soup-tld.c
patch
|
blob
|
history
diff --git
a/libsoup/soup-tld.c
b/libsoup/soup-tld.c
index
8782a82
..
5fdb44a
100644
(file)
--- a/
libsoup/soup-tld.c
+++ b/
libsoup/soup-tld.c
@@
-106,7
+106,7
@@
soup_tld_domain_is_public_suffix (const char *domain)
g_return_val_if_fail (domain, FALSE);
/* Skip the leading '.' if present */
- if (*domain == '.' && !(++domain))
+ if (*domain == '.' && !
*
(++domain))
g_return_val_if_reached (FALSE);
base_domain = soup_tld_get_base_domain_internal (domain, 0, &error);