Mercurial > pidgin.yaz
comparison src/upnp.c @ 13791:b39a92702939
[gaim-migrate @ 16203]
g_assert killage
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 29 May 2006 23:27:30 +0000 |
parents | 095fd5936962 |
children | 10e8eb6a4910 |
comparison
equal
deleted
inserted
replaced
13790:e744943e749c | 13791:b39a92702939 |
---|---|
185 | 185 |
186 | 186 |
187 static gboolean | 187 static gboolean |
188 gaim_upnp_compare_service(const xmlnode* service, const gchar* serviceType) | 188 gaim_upnp_compare_service(const xmlnode* service, const gchar* serviceType) |
189 { | 189 { |
190 xmlnode* serviceTypeNode = xmlnode_get_child(service, "serviceType"); | 190 xmlnode* serviceTypeNode; |
191 char *tmp; | 191 char *tmp; |
192 gboolean ret; | 192 gboolean ret; |
193 | |
194 if(service == NULL) { | |
195 return FALSE; | |
196 } | |
197 | |
198 serviceTypeNode = xmlnode_get_child(service, "serviceType"); | |
193 | 199 |
194 if(serviceTypeNode == NULL) { | 200 if(serviceTypeNode == NULL) { |
195 return FALSE; | 201 return FALSE; |
196 } | 202 } |
197 | 203 |