From: <dat...@us...> - 2006-12-17 20:14:42
|
Revision: 18018 http://svn.sourceforge.net/gaim/?rev=18018&view=rev Author: datallah Date: 2006-12-17 12:14:41 -0800 (Sun, 17 Dec 2006) Log Message: ----------- Fix a crash when an invalid (or at least I think it is) upnp response is received. Modified Paths: -------------- trunk/libgaim/upnp.c Modified: trunk/libgaim/upnp.c =================================================================== --- trunk/libgaim/upnp.c 2006-12-17 19:17:36 UTC (rev 18017) +++ trunk/libgaim/upnp.c 2006-12-17 20:14:41 UTC (rev 18018) @@ -339,7 +339,7 @@ } tmp = xmlnode_get_data(controlURLNode); - if(!gaim_str_has_prefix(tmp, "http://") && + if(baseURL && !gaim_str_has_prefix(tmp, "http://") && !gaim_str_has_prefix(tmp, "HTTP://")) { controlURL = g_strdup_printf("%s%s", baseURL, tmp); g_free(tmp); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |