summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-03-31 06:38:37 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-03-31 06:38:37 -0700
commit7c3a6b3991a9b57377087c18375f60d68512b17e (patch)
tree6fcc65bc164c4d7642b6dcb57111477ebc392de5 /share
parentb8e5ade6282798f705bf417fc5d92fcdd811de98 (diff)
downloadtxr-7c3a6b3991a9b57377087c18375f60d68512b17e.tar.gz
txr-7c3a6b3991a9b57377087c18375f60d68512b17e.tar.bz2
txr-7c3a6b3991a9b57377087c18375f60d68512b17e.zip
sock-set-peer shouldn't mark dgram sockets connected.
Merely setting a peer doesn't actually connect the socket, so it must not be marked connected. If it is wrongly marked connected, then dgram_flush will wrongly use send rather than sendto. * socket.c (dgram_set_sock_peer): Don't set sock_connected flag. (sock_connect): Set the sock_connected flag here, for dgram sockets.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions