[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmms-devel
Subject:    Re: [XMMS-DEVEL] segfault with xmms_remote_playlist_add.
From:       crille  <crille () cccab ! net>
Date:       2001-09-04 4:17:54
[Download RAW message or body]

This should ofcourse be:
>
>   GList * list;
>   int i= 0;
>   char *entry;
>   list = g_list_alloc();
>
>   while((entry = songs[i]) != NULL)

while((entry = songs[i]) != '\0')

>     list = g_list_append(list,entry);
>
>   xmms_remote_playlist_add(xmms_session, list);
>   g_list_free(list);
>   return 0;
> }

This was just a typo and not my real problem.
The code stil segfaults.

Christian
-------------------------------
To unsubscribe from this list, send email with the
body containing "unsubscribe xmms-devel" to majordomo@erf.net
In unices, this is as easy as:
echo "unsubscribe xmms-devel" | mail majordomo@erf.net
-------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic