Skip to content

Commit 9ce6c59

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 62755b1 + f46fee0 commit 9ce6c59

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2002-2015 Lee Salzman
1+
Copyright (c) 2002-2016 Lee Salzman
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

docs/license.dox

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
@page License License
33

4-
Copyright (c) 2002-2015 Lee Salzman
4+
Copyright (c) 2002-2016 Lee Salzman
55

66
Permission is hereby granted, free of charge, to any person obtaining
77
a copy of this software and associated documentation files (the

include/enet/enet.h

+6-2
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,11 @@ typedef void (ENET_CALLBACK * ENetPacketFreeCallback) (struct _ENetPacket *);
138138
* (not supported for reliable packets)
139139
*
140140
* ENET_PACKET_FLAG_NO_ALLOCATE - packet will not allocate data, and user must supply it instead
141-
141+
*
142+
* ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT - packet will be fragmented using unreliable
143+
* (instead of reliable) sends if it exceeds the MTU
144+
*
145+
* ENET_PACKET_FLAG_SENT - whether the packet has been sent from all queues it has been entered into
142146
@sa ENetPacketFlag
143147
*/
144148
typedef struct _ENetPacket
@@ -405,7 +409,7 @@ typedef enum _ENetEventType
405409
ENET_EVENT_TYPE_CONNECT = 1,
406410

407411
/** a peer has disconnected. This event is generated on a successful
408-
* completion of a disconnect initiated by enet_pper_disconnect, if
412+
* completion of a disconnect initiated by enet_peer_disconnect, if
409413
* a peer has timed out, or if a connection request intialized by
410414
* enet_host_connect has timed out. The peer field contains the peer
411415
* which disconnected. The data field contains user supplied data

unix.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ enet_address_get_host (const ENetAddress * address, char * name, size_t nameLeng
204204
return 0;
205205
}
206206
if (err != EAI_NONAME)
207-
return 0;
207+
return -1;
208208
#else
209209
struct in_addr in;
210210
struct hostent * hostEntry = NULL;

0 commit comments

Comments
 (0)