Commit Graph

443 Commits

Author SHA1 Message Date
irungentoo
82c60d6f34 Fixed ghost peer problem. 2013-11-27 16:41:07 -05:00
Coren[m]
26fef7cf9a
Various changes to nTox including a potential crash (also possible from remote!), and a tiny change to toxcore.
Crash stuff:

nTox.c:
- do_refresh(): avoid crashes (input a "%" and the client goes "boom!", send someone a string with embedded "%" and see him blow up...)

Other stuff:

toxcore: tox.h (doc.)/network.c (code):
- networking_wait_prepare(): return -1 if lenptr was NULL and therefore not settable

nTox.c:
- fraddr_to_str(): function to convert a TOX_FRIEND_ADDRESS into a segmented (and therefore line-breakable) string
- print_friendlist(): print index of friend on name line, print id on 2nd line
- command /f: skip spaces (and +) inside a friend id
- command /r (new): "/r #" to remove a friend
- main(): reduce cpu consumption if we're not currently sending files
2013-11-27 21:00:23 +01:00
irungentoo
74b13a9fcf Friend requests from friends are now discarded. 2013-11-27 14:18:39 -05:00
irungentoo
bc06c7b2b0 Behaviour changes for the group chat callback. 2013-11-25 19:45:04 -05:00
irungentoo
2967b67b7f Merge pull request #663 from FullName/peerchange-detail
group_namelistchange(): for gui reasons, divulge peernumber and change type
2013-11-25 11:23:52 -08:00
Coren[m]
0b0848d9ac
setnick(): don't callback when an identical nickname is set again 2013-11-25 19:18:40 +01:00
Coren[m]
56079c92c3 Mimic more exactly what delpeer() does in the callback.
If the deleted peer wasn't last, send a name-change update for the overwritten peer.
2013-11-25 19:01:13 +01:00
irungentoo
6374093254 Fixed possible build problem. 2013-11-24 15:26:10 -05:00
Coren[m]
e85e9dbb99
group_namelistchange(): for ui reasons, divulge the peernumber and the nature of the change (add, del, name change).
tox.*, Messenger.*, group_chats.*:
- expand interface of callback by peernumber/change

groupchats.c:
- call callback in addpeer/delpeer/setnick with peernumber and flag

nTox.c:
- print_groupchatpeers(): print as many names on a line as possible, not one peer per line
- print_groupnamelistchange(): only print the change, if possible (i.e. "new peer", "peer's new name")
- added command "/p" to print the list of peers
2013-11-24 21:12:26 +01:00
irungentoo
0a84c61c39 Fixed bug with group chats. 2013-11-24 14:35:47 -05:00
irungentoo
2b94408adc Kill_messenger now kills group chats. 2013-11-23 22:17:36 -05:00
irungentoo
f21a9a7666 Added callback that tells you when the peer name list of a group chat changes. 2013-11-23 17:19:02 -05:00
irungentoo
d2b56faded Added function to get the number of peers and list of names for group chats. 2013-11-22 23:31:55 -05:00
irungentoo
2079cbc2db Speed up group chat bootstrapping by a bit. 2013-11-21 19:33:02 -05:00
irungentoo
ee3f91a802 Group chat peers now tell others when they quit.
Also increased ping timeout.
2013-11-21 19:23:12 -05:00
irungentoo
6b7f282c47 Merge pull request #656 from Jman012/master
Added functions tox_count_chatlist and tox_copy_chatlist.
2013-11-19 17:11:49 -08:00
Jman012
ace8c2289e Fixed a cuple stylistic bugs. Behaviour should be the same but the code is now proper. Also fixed tox_copy_friendlist. 2013-11-19 16:45:49 -08:00
Jman012
478d799ee3 Added null check to each chat before incrementing. 2013-11-19 11:44:26 -08:00
irungentoo
64aff6bb85 Fixed possible issue. 2013-11-19 11:18:30 -05:00
Jman012
21e514572c Fixed a few typos. 2013-11-18 20:10:07 -08:00
Jman012
37d9728830 Added functions tox_count_chatlist and tox_copy_chatlist.
These functions are akin to the tox_count_friendlist and tox_copy_friendlist, made available on the public API.
2013-11-18 20:05:35 -08:00
irungentoo
cdfe09d221 Merge pull request #650 from FullName/ID-IP-basic
Significantly trimmed down version of an ID<=>IP cache.
2013-11-18 18:02:29 -08:00
irungentoo
1473126f9a Nodes now only send good nodes (or the node that was specifically asked for). 2013-11-17 19:51:15 -05:00
irungentoo
26efa858ec Merge pull request #652 from FullName/reset_on_long_timeout
Tolerate instable connectivity.
2013-11-17 16:45:34 -08:00
irungentoo
067cc9630a Fixed segfault. 2013-11-17 16:23:28 -05:00
Coren[m]
81b472df0d
Tolerate instable connectivity: if *all* set close nodes are in terminal timeout (KILL_NODE_TIMEOUT), reset them all to BAD_NODE_TIMEOUT.
That keeps the client trying to at least ping the nodes in the hopes of the connection coming back up.
2013-11-17 19:44:51 +01:00
irungentoo
a82ad576a2 Fixed build error on windows. 2013-11-16 21:21:32 -05:00
irungentoo
d83abccf0e Send our name when someone new joins the group chat. 2013-11-16 20:14:01 -05:00
Coren[m]
b132c92b3a
Assoc's array is now allocated dynamically and per default much smaller (320 entries).
id_hash() was not at all working as expected for very small bucket size (when (size / 4) was zero). Simplified to be trivially correct.
Also added a used flag on adding an entry, which is set by callers if they have that association in active use. Those get priority over unused entries on collision.
Fleshed out test to be at least elementary useful.
Each group chat now uses an own, small assoc (80 entries).
2013-11-17 01:05:00 +01:00
irungentoo
706b6ec11c Merge pull request #649 from FullName/DHT-client_id-change-wipe-other-address
On replacing a client with another, clear the stale association.
2013-11-14 13:02:08 -08:00
Coren[m]
0d8329b3a9
Significantly trimmed down version of an ID<=>IP cache.
Besides acknowledging timeouts, the module isn't trying to do anything fancy with the data besides storing and retrieving.
2013-11-14 19:05:53 +01:00
Coren[m]
28dcfae6e4
On replacing a client with another, clear the stale association.
Also check both associations for timeout, not just the incoming one.

Also removed client_in_list(): static & unused.
2013-11-14 00:45:17 +01:00
Coren[m]
0f2c2fe399
IPv6 address of ::1 is local. 2013-11-13 23:51:19 +01:00
irungentoo
5e6fbf33b5 Cleaned up the code. 2013-11-12 20:59:32 -05:00
irungentoo
244c625e51 Merge branch 'group_peername' of https://github.com/FullName/ProjectTox-Core into FullName-group_peername 2013-11-12 19:41:52 -05:00
irungentoo
62125ce90f Merge pull request #645 from FullName/nTox-patches
nTox: enforce friend name null termination, reduce memory loss, allow nickchange as oldname=>newname
2013-11-12 12:50:54 -08:00
Coren[m]
6d31a9be7e
Group chat: Add a nickname message. Remove strange default nickname. (Seriously...)
group_chats.*:
- group_send_nick() to send own name
- setnick() to store a received name

Messenger.c:
- group_send_nick() before group_sendmessage() (in regular intervals, to inform new peers)

nTox.c:
- print_groupmessage(): on error or on a name of length zero the result of tox_group_peername() isn't null-terminated, catch that
2013-11-12 19:57:01 +01:00
irungentoo
18c98eb87d Fixed possible segfault. 2013-11-11 13:42:09 -05:00
Coren[m]
81d4e4d2b8 Merge remote-tracking branch 'upstream/master' into nTox-patches 2013-11-11 15:28:15 +01:00
Coren[m]
553aba0498
nTox.c:
- multiple places: tox_getname() doesn't terminate the string, make sure nTox does
- format_message():
.  - renamed to print_formatted_message()
.  - changed semantics: does the new_line() itself, saves caller from freeing the buffer (which no caller did)
.  - changed signature: now also prints the friend's name when sending
.  - intern: date is only printed once, the message line gets only time
- print_message(): enforce null termination
- main():
.  - setlocale() to init locale (for date/time printing)
.  - own name: ensure null termination

Messenger.c:
- notify of friend name change *before* the old name is overwritten
2013-11-11 15:25:54 +01:00
irungentoo
4943054742 Fixed small issues.
DHT_test now only prints non zero entries.
2013-11-10 17:57:24 -05:00
irungentoo
ce29937b8d Added more printing to DHT_test, fixed typo. 2013-11-10 14:55:36 -05:00
irungentoo
57763f2737 Merge branch 'master' into harden
Conflicts:
	toxcore/DHT.c
2013-11-10 14:32:46 -05:00
irungentoo
572fb60392 Optimized data sending slightly more. 2013-11-09 22:29:16 -05:00
irungentoo
e30105af20 Code cleanups. 2013-11-08 21:01:20 -05:00
irungentoo
e1b215cfa9 Merge branch 'add2lists_forward' of https://github.com/FullName/ProjectTox-Core into FullName-add2lists_forward 2013-11-07 17:39:10 -05:00
irungentoo
a980f46465 Merge pull request #642 from FullName/dht_handle_sendnodes_unify
Unify most of handle_sendnodes[_ipv6]() into a common core.
2013-11-07 14:19:11 -08:00
Coren[m]
b060d87483
Unify most of handle_sendnodes[_ipv6]() into a common handle_sendnodes_core(), leave only a minimal trail. 2013-11-06 21:55:22 +01:00
Coren[m]
03485a8d05
Behind #define LOGGING: Correct usage of now() to replacement unix_time(). 2013-11-06 15:26:08 +01:00
Coren[m]
aee50435c8
addto_lists(): store the IP/Port that was used to *send*.
Avoids a DOS of sending a copy of a valid response with an invalid IP.
2013-11-06 14:50:55 +01:00
irungentoo
71f7a49402 Auto delete inactive peers in the group chat. 2013-11-05 20:41:33 -05:00
irungentoo
78793140ef Send ping packets in group chats every 30 seconds. 2013-11-04 21:03:27 -05:00
irungentoo
2e6250ee44 The group chats we invite a friend to are now stored. 2013-11-03 17:39:49 -05:00
irungentoo
41e083c173 Fixed possible issue. 2013-11-02 23:14:56 -04:00
irungentoo
91c9dc2464 Get node testing response packets are now handled. 2013-11-02 23:04:03 -04:00
irungentoo
beaa31bebc Testing requests are now sent. 2013-10-30 19:50:06 -04:00
irungentoo
415835ce3d Merge branch 'master' into harden
Also removed some old, useless loading code.
2013-10-28 16:01:29 -04:00
irungentoo
988922bdeb Removed some now useless code. 2013-10-28 15:52:46 -04:00
irungentoo
d2ab13c611 Cleaned up some code/fixed some warnings.
I'm sure nobody has any of the old save files anymore so I removed the
functions.
2013-10-27 20:25:31 -04:00
irungentoo
f607d66f39 Added some hardening functions to test get nodes. 2013-10-27 20:13:20 -04:00
irungentoo
f7040726a1 Increased port range. 2013-10-26 23:17:11 -04:00
irungentoo
05a5184dc0 Clarified a comment. 2013-10-26 18:11:55 -04:00
irungentoo
a6edd9dad6 Base of hardening stuff. 2013-10-26 17:35:55 -04:00
irungentoo
bbef18ab4e Update time before running functions for recieved packets. 2013-10-25 14:55:46 -04:00
irungentoo
9ccdac0e82 All modules using unix_time should run unix_time_update() 2013-10-25 14:47:34 -04:00
irungentoo
b891446c31 For security reasons, keep memcpy's and memcmp's in crypto functions. 2013-10-25 14:43:47 -04:00
irungentoo
bb0ec76de3 Fixed build error with libsodium. 2013-10-24 19:13:19 -04:00
irungentoo
55692665dc Removed now useless ping_id from send/get node packets. 2013-10-24 18:59:00 -04:00
irungentoo
f7b90f1060 Adding encrypted data to send/getnode packets now done. 2013-10-24 17:39:14 -04:00
Coren[m]
065495cd7c Merge remote-tracking branch 'upstream/master' into cleanup_unix_time_id_eq_cpy_is_timeout
Conflicts:
	toxcore/net_crypto.c
2013-10-24 22:47:23 +02:00
irungentoo
2fdc412e36 Astyled some files. 2013-10-24 16:37:39 -04:00
Coren[m]
0a4c3d7e2e Move unix_time(), id_cpy()/id_eq(), is_timeout() to util.*
unix_time():
- returns local value for current epoch
- value is updated explicitly with unix_time_update() called at new_DHT()/doMessenger()/do_DHT()

is_timeout():
- uses the local value for current epoch

id_cpy()/id_eq() => id_copy()/id_equal():
- centralized duplicate definitions
- replaced (most) memcpy()/memcmp() of (*, *, CLIENT_ID_SIZE) with id_copy()/id_equal()
2013-10-24 22:32:28 +02:00
irungentoo
bba10544e7 Added symmetric crypto functions to net_crypto. 2013-10-24 15:55:52 -04:00
irungentoo
9bef5f5bff Adding encrypted data to send/getnode packets part 1. 2013-10-24 14:10:55 -04:00
irungentoo
8e0ab68d30 Removed define that could become confusing. 2013-10-24 13:34:04 -04:00
irungentoo
2e75648f51 Code cleanups. 2013-10-23 14:42:39 -04:00
irungentoo
a67b4f8c6d Code cleanups. 2013-10-23 14:32:09 -04:00
Bahkuh
f581e20233 This squash should work now. 2013-10-22 20:24:48 +02:00
irungentoo
be06888517 Fixed possible bug. 2013-10-20 16:00:30 -04:00
irungentoo
9303c18b0c Merge branch 'Cleanup-defines' of https://github.com/FullName/ProjectTox-Core into FullName-Cleanup-defines 2013-10-20 15:12:46 -04:00
Coren[m]
a0f08839bd Main: Eliminate TOX_ENABLE_IPV6 (then always on), CLIENT_ONETOONE_IP (then always off).
Additionally (besides cleanups):

network.h/tox.h:
- WIN32: fix a strange sa_family_t definition
- WIN32: define EWOULDBLOCK to WSAEWOULDBLOCK
- WIN32: kill macro for an existing function (IN6_ADDR_EQUAL)

network.c:
- use EWOULDBLOCK instead of EAGAIN (same value, but EWOULDBLOCK is more "popular")
- new_networking(): only try to enable IPv4-in-IPv6 if it's not already enabled per default
- inet_ntop()/inet_pton(): WIN32: remove partial initializers in favor of a simple memset()
- ip_equal(): WIN32: use an existing function
- logging: networking_wait_execute(): only dump result if not timeout
- logging: loglogdata(): kill an unused variable

LAN_discovery.c:
- send_broadcasts(): re-enabled, can only support IPv4 by principle, split into fetch_broadcast_info() (to fetch the addresses once) and send_broadcasts() (actual sending)

DHT.c:
- DHT_load_state_callback(): enclosed a fprintf(stderr, ...) into #ifdef DEBUG

Lossless_UDP.c:
- change_handshake(): harden against strange sa_family_t definitions

Messenger.c:
- logging: fix ID to string conversion

util.c:
- logging: eliminate a signed-warning
2013-10-20 16:56:12 +02:00
irungentoo
1ad9e6d8ac Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-10-19 22:30:23 -04:00
irungentoo
147d820ad2 Fixed connection sometimes being too slow and some other possible problems. 2013-10-19 22:29:48 -04:00
Antonio Montes
3df81b07f3 fixed build errors on windows 2013-10-19 11:14:03 -07:00
irungentoo
368231b4f8 Removed bad function from public API (This breaks toxic.) 2013-10-18 22:42:12 -04:00
Bahkuh
ff11e7398b Fixed minor typo. 2013-10-17 14:25:44 +02:00
irungentoo
6952daa042 Updated public api. 2013-10-15 17:34:22 -04:00
irungentoo
0aa6ba8e28 Added resume support if the connection breaks during file sending. 2013-10-15 17:23:00 -04:00
irungentoo
a81b708eb5 A/V integration in progress.
Added functions to send/receive msi packets via secure messenger
connections.

Made function to get the ip/port of a friend in Messenger.c public
2013-10-13 22:07:30 -04:00
irungentoo
dc1c019a2d Small fix. 2013-10-13 10:43:53 -04:00
mannol
5bc2560904 tox A/V: integration of A/V code into tox
Also-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
2013-10-13 16:40:15 +02:00
irungentoo
f2497b6589 Improved hole punching. 2013-10-12 18:51:59 -04:00
Maxim Biro
571412f911 Added message ids to action messages 2013-10-10 22:27:51 -04:00
naxuroqa
a60ffa9591 fix for missing EAGAIN definition on windows 2013-10-09 10:49:27 +02:00
irungentoo
4aa507b664 Added function to get the piece size for sending files. 2013-10-08 18:55:35 -04:00
irungentoo
3658c372a4 Merge pull request #609 from FullName/wait
Add tox_wait() for socket, allow tox.h include in tox.c
2013-10-07 14:13:07 -07:00
irungentoo
94691bfe0e Code cleanups. 2013-10-06 17:44:31 -04:00
irungentoo
6ef2b5ead6 Code cleanups. 2013-10-06 17:40:23 -04:00
Coren[m]
24e4a70105 Oops. Didn't pass along the results from inside to outside... 2013-10-06 17:22:40 +02:00
Coren[m]
40e020b958 Merge remote-tracking branch 'upstream/master' into wait: replace void *tox with Tox *tox in tox.c (which now includes the declarations from tox.h) 2013-10-06 16:53:13 +02:00
Coren[m]
355c55f745 sendqueue_length no longer determines if we check for socket-can-write, but sendpacket() sets a timestamp if it happened
network.*:
- sendpacket(): checks result and on EAGAIN, stores time of this event
- networking_wait_prepare(): uses the time if set to check up to 500ms later for the socket to be writeable again
- networking_wait_cleanup(): clears the time if the socket was writeable
- fixed some accidental tabs

Messenger.*, tox.*:
- pass-through functions to reach networking_wait_cleanup()
- fixed some accidental tabs
2013-10-06 16:37:02 +02:00
irungentoo
b2c5e16132 Fixed file sending bug. 2013-10-05 10:55:28 -04:00
irungentoo
b0f9e6db6f m_addfriend_norequest now prevents you from adding your own id as friend. 2013-10-05 09:09:28 -04:00
Coren[m]
1331a32223 Broken *_wait() into *_wait_prepare() and *_wait_execute()
To allow the actual waiting to run without any locking, split it into preparing the data it uses and the execution of the wait.
The caller must provide with the buffer to store whatever data it requires to wait.
Completely eliminates any reliance on the existence of anything but that data in the actual wait routine.

Also fixed a few argument type warnings inside LOGGING.
2013-10-05 12:53:54 +02:00
irungentoo
edf799133c Fixed some possible bugs. 2013-10-04 11:20:47 -04:00
irungentoo
378a87d523 Code cleanups. 2013-10-03 12:42:29 -04:00
Coren[m]
1f92ee274d Only add write-ready to select() if we have packets queued
Lossless_UDP.*:
- sendqueue_total() sums sendqueue() across all connections

network.*, Messenger.c:
- sendqueue_total() is collected and then used in deciding if we select() on write-readiness
2013-10-03 12:10:29 +02:00
irungentoo
c014cebbe5 Merge branch 'file-transfers'
File transfers are now working and in public api.
2013-10-02 20:53:48 -04:00
irungentoo
fbd494a8b4 File sending added to public api. 2013-10-02 20:53:24 -04:00
irungentoo
8a77211b43 Merge branch 'file-transfers' of https://github.com/irungentoo/ProjectTox-Core into file-transfers 2013-10-02 20:20:33 -04:00
irungentoo
6425cf3b53 File control packets can now be used by the person sending the file. 2013-10-02 20:08:14 -04:00
Coren[m]
2af0d43ce8 Add tox_wait() for socket, allow tox.h include in tox.c
tox.*, Messenger.*, network.*;
- new function tox_wait() => waitMessenger() => networking_wait():
  - waits for a given amount of time for any sort of socket activity
  - mustn't change anything inside, mustn't poll or do other stuff
    - the point is to be able to call this asynchronously from a second thread
    - the outside shall follow up with an immediate tox_do() when there's socket activity

tox.*:
- allow inclusion of tox.h into tox.c, ensuring that the outside interface and the internal always match

util.c:
- squished a few warnings about questionable format strings
2013-10-02 16:38:54 +02:00
irungentoo
0fb3c9eeed Max length of filenames is now 255 bytes. 2013-10-02 10:28:08 -04:00
irungentoo
2467e6d592 Fixed bug. 2013-10-02 09:42:28 -04:00
irungentoo
efa3c79699 Removed useless ifdefs. 2013-10-01 19:01:15 -04:00
irungentoo
6182af8449 nTox updated with changes in core, some file sending things fixes. 2013-10-01 18:59:33 -04:00
irungentoo
6dbc8a5496 Core now takes better care of file transfers. 2013-10-01 16:48:32 -04:00
irungentoo
766cff692f File sending now works on bad wireless connections. 2013-10-01 11:44:27 -04:00
irungentoo
b9bffced7c Speeded up/fixed NAT hole punching and peer finding. 2013-09-30 17:20:35 -04:00
irungentoo
a0f94267ad File sending. 2013-09-30 09:35:17 -04:00
irungentoo
9f1080f8b4 Fixed connection bug. 2013-09-29 08:07:10 -04:00
irungentoo
aae9fae257 Fixed possible problem. 2013-09-28 20:50:54 -04:00
irungentoo
d4e42230bd Potential DoS fixed. 2013-09-28 19:03:29 -04:00
irungentoo
8adb34e6a9 Fixed possible bug. 2013-09-28 17:19:32 -04:00
irungentoo
abd4278fc4 Connection bug fixed. 2013-09-28 12:13:26 -04:00
irungentoo
e1bea734e0 Fixed small issue. 2013-09-28 10:39:45 -04:00
irungentoo
2b8d0d045a Behaviour with LAN ips is now better, also fixed possible bug. 2013-09-28 10:27:25 -04:00
irungentoo
92f89b9384 LAN ips can be sent to LAN ips. 2013-09-28 09:54:17 -04:00
irungentoo
ed07194eb6 friend_iplist and route_tofriend behaviour fixes. 2013-09-28 09:21:08 -04:00
irungentoo
d14ba73bc3 Fixed possible problem. 2013-09-27 23:10:33 -04:00
irungentoo
2dd1c5515c Astyled the code. 2013-09-27 22:03:38 -04:00
irungentoo
0e318af9e2 Merge branch 'ClientData46' of https://github.com/FullName/ProjectTox-Core into FullName-ClientData46 2013-09-27 21:10:34 -04:00
Coren[m]
f7f670bf7c don't lose globally valid addresses for locally valid ones 2013-09-27 21:34:13 +02:00
Coren[m]
483a6cc161 Logging loop corrected. 2013-09-27 19:50:42 +02:00
Coren[m]
06a85177e9 minimalistic increase in elegance ;)
DHT.c:
- loops over assoc4/6 slightly more elegant
2013-09-27 18:33:52 +02:00
Coren[m]
6fe25e4f6f Permit -Wshadow as useful warning. 2013-09-27 11:24:33 +02:00
Coren[m]
9de295374d expanded Client_data to hold two addresses (IPv4, IPv6) instead of one
Compilerflag: CLIENT_ONETOONE_IP (to define in DHT.h, default unset i.e. NEW case: two addresses)

Every function in DHT{_test}.c working on Client_data has been rewritten to store IPv4 addresses in assoc4, IPv6 addresses in assoc6.
Loading/Storing of states defined with other compiler switch is transparently adjusting to the differences.

DHT.h, DHT.c:
- introduction and handling of the structure changes

DHT_test.c, Messenger.c:
- logging adapted to new structures

util.h:
- LOGGING isn't undefined per default anymore
2013-09-27 03:27:52 +02:00
irungentoo
beff2b6de6 Possible bug fixed. 2013-09-25 13:19:19 -04:00
irungentoo
3c78aefce0 Fixed bug where hole punching was attempted even though the
clients were connected.

Increased the number of ports tried per interval of time.

Also astyled the files.
2013-09-25 10:07:07 -04:00
irungentoo
83c665f2c4 Fixed possible bug. 2013-09-25 07:37:55 -04:00
irungentoo
370e36815e Merge pull request #596 from FullName/ping.moveandclean
moved stuff that belongs into ping.[ch] there
2013-09-24 17:51:23 -07:00
irungentoo
7c300370b0 Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-09-24 18:22:18 -04:00
irungentoo
4a3bed3e85 Possibly fixed the weird disconnecting/reconnecting bug. 2013-09-24 18:15:15 -04:00
irungentoo
1994c3cd89 Possible bug fixed. 2013-09-24 09:57:49 -04:00
irungentoo
05a3851e43 Fixed windows build. 2013-09-24 07:56:06 -04:00
irungentoo
b0149318fa Merge pull request #604 from JFreegman/master
made setfriendname() part of public api
2013-09-24 03:49:06 -07:00
Jfreegman
23e03b0ba9 check length of name 2013-09-23 15:40:25 -04:00
irungentoo
5d25bc100c Fixed typo. 2013-09-23 13:45:51 -04:00
Jfreegman
c4702985a5 made setfriendname part of public api 2013-09-23 04:30:24 -04:00
stal
bcba9b957b Fix bug.
This makes it build on OS X again...
2013-09-22 17:49:14 -07:00