Michael,

that seems to be a bug. There is some clever programming in  
inobex_prepare_listen (inobex.c:113) and perhaps the compiler is not  
falling through to the default case.
Can you test that by copying the default case assignment (saddr=...)  
two lines up, below the map_ip4to6() call? Then recompile, install  
OpenOBEX.

Am 02.10.2009 um 14:51 schrieb Michael Bell:

> Valgrind reports that there is a problem with bind. So my question is,
> what must be changed in my code to use libopenobex in the right way?
>
> I have no idea why libopenobex do IPv6 stuff with my IPv4 address.
>
> The code itself works. Valgrind only reports a read of unitialised  
> bytes.
>

regards,
Christian




------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to