comparison src/scrobbler/plugin.c @ 880:eb5fe37b785d trunk

[svn] - suppress a warning.
author yaz
date Mon, 19 Mar 2007 16:49:57 -0700
parents 13bb2cf2f9e6
children 238055a6cb8f
comparison
equal deleted inserted replaced
879:c7daa70ffe7e 880:eb5fe37b785d
202 sc_cleaner(); 202 sc_cleaner();
203 gerpok_sc_cleaner(); 203 gerpok_sc_cleaner();
204 hatena_sc_cleaner(); 204 hatena_sc_cleaner();
205 } 205 }
206 206
207 static char ishttp(const char *a) 207 static gboolean ishttp(const char *a)
208 { 208 {
209 g_return_val_if_fail(a != NULL, NULL); 209 g_return_val_if_fail(a != NULL, FALSE);
210 return str_has_prefix_nocase(a, "http://"); 210 return str_has_prefix_nocase(a, "http://");
211 } 211 }
212 212
213 /* Following code thanks to nosuke 213 /* Following code thanks to nosuke
214 * 214 *