* Fixed up UDP Port "netReset()" (was stuck on 7812, now follows your tcp port).

* OSX Bug: doesn't like classes in C files. switched to void * pointer.
 * A little extra debugging in pqissl on disconnects.
 * switched on bitdht by default in libretroshare.pro



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3334 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2010-08-02 23:21:59 +00:00
parent 7318fdf9c8
commit 627b0f88a2
5 changed files with 48 additions and 7 deletions

View file

@ -66,8 +66,9 @@ static UdpPeerReceiver *udps = NULL;
static int tou_tick_all();
/* tou_init - opens the udp port (universal bind) */
int tou_init(UdpStack *stack)
int tou_init(void *in_udpstack)
{
UdpStack *stack = (UdpStack *) in_udpstack;
if (tou_inited)
{
return 1;

View file

@ -58,8 +58,9 @@
* (1) need UdpStack item, which has our address already.
*/
class UdpStack;
int tou_init(UdpStack *stack);
// hack to avoid classes in C code. (MacOSX complaining)
// will pass as UdpStack * as void *
int tou_init(void *udpStack);
#ifdef __cplusplus