mirror of
git://erdgeist.org/opentracker
synced 2025-01-13 08:20:06 +00:00
fixed setport fuckup
This commit is contained in:
parent
fcf615779d
commit
b9efc8e22b
@ -46,7 +46,7 @@ static const ot_byte PEER_FLAG_COMPLETED = 0x40;
|
||||
static const ot_byte PEER_FLAG_STOPPED = 0x20;
|
||||
|
||||
#define OT_SETIP( peer, ip ) MEMMOVE((peer),(ip),4);
|
||||
#define OT_SETPORT( peer, port ) MEMMOVE((peer),(port),2);
|
||||
#define OT_SETPORT( peer, port ) MEMMOVE(((ot_byte*)peer)+6,(port),2);
|
||||
#define OT_FLAG(peer) (((ot_byte*)(peer))[6])
|
||||
|
||||
typedef struct {
|
||||
|
Loading…
Reference in New Issue
Block a user