Re: [gupnp] Re: before the 0.2 release

From: Zeeshan Ali <zeenix@gstreamer.net>
Date: Thu Jul 26 2007 - 09:16:23 EDT

Hello!

>
> Hmm, I can't reproduce. Can you find out on which strcmp exactly it
> crashes?

    very very weird! The exact strcmp it crashes on is at the end of
this code snippet:

gupnp_control_point_resource_unavailable
                                (GSSDPResourceBrowser *resource_browser,
                                 const char *usn)
{
        GUPnPControlPoint *control_point;
        char *udn, *service_type;
        GList *l, *cur_l;
        DescriptionDoc *doc;

        control_point = GUPNP_CONTROL_POINT (resource_browser);

        /* Parse USN */
        if (!parse_usn (usn, &udn, &service_type))
                return;

        /* Find proxy */
        if (service_type) {
                l = control_point->priv->services;

                while (l) {
                        GUPnPServiceInfo *info;
                        GUPnPServiceProxy *proxy;
                        char *location, *tmp;

                        info = GUPNP_SERVICE_INFO (l->data);

                        tmp = gupnp_service_info_get_service_type (info);

                        if ((strcmp (udn,
                                     gupnp_service_info_get_udn (info)) != 0) ||
                            (strcmp (service_type, tmp) != 0)) {

-- 
Regards,
Zeeshan Ali
--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com
Received on Thu, 26 Jul 2007 16:16:23 +0300

This archive was generated by hypermail 2.1.8 : Thu Jul 26 2007 - 10:00:06 EDT