# HG changeset patch # User Evan Schoenberg # Date 1219806255 0 # Node ID 58e3b422e5950ef4dc2fef739111b0d764370037 # Parent 7fbc99a1481dcfa5cab5b8947a31ebe1fbd98544 Return FALSE from purple_url_parse() if a host could not be determined diff -r 7fbc99a1481d -r 58e3b422e595 libpurple/util.c --- a/libpurple/util.c Wed Aug 27 02:54:59 2008 +0000 +++ b/libpurple/util.c Wed Aug 27 03:04:15 2008 +0000 @@ -3592,7 +3592,7 @@ if (ret_user != NULL) *ret_user = g_strdup(user); if (ret_passwd != NULL) *ret_passwd = g_strdup(passwd); - return TRUE; + return ((*host != '\0') ? TRUE : FALSE); } /**