new plugin

Phil Hannent phil at hannent.co.uk
Mon Dec 28 07:39:30 EST 2009


On 28/12/09 11:24, roby wrote:
> On Mon, Dec 28, 2009 at 11:40 AM, roby <hariseldon78 at gmail.com> wrote:
>     I'll try to clean up the code from those warnings, and to correct
>     the use of // for comments.
>     Let me know if you succeed in using the plugin after linking it
>     inside the plugins directory.
> ok, i cleaned up a bit and committed the changes, if anybody want to
> test the package.
Wow good turn around on that.

I have updated the plugin with your changes, its loading just fine. 
However its crashing when I try to share the desktop:

upnp_get_ip(...)
init()
do_loop()
calling GetExternalIPAddress
Segmentation fault

This is all I get when I run it from the command line.  Also good job on 
the warnings, on my setup I have just 2 left:

client.c: In function ‘client_accept_connection_cb’:
client.c:60: warning: ignoring return value of ‘system’, declared with 
attribute warn_unused_result
server.c: In function ‘upnp_discovery_cb’:
server.c:136: warning: ‘ip’ may be used uninitialized in this function

Regards
Phil Hannent





More information about the Devel mailing list