diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-21 07:23:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:33 -0500 |
commit | 37279b1363db5d02d48e56b6a8b16e4b70180b2a (patch) | |
tree | b49859e20b68f619e072f25a95fe10abc903bc0a /source4/include/structs.h | |
parent | 11e9b40f13063e036162d6ccf81056ccceaf4598 (diff) | |
download | samba-37279b1363db5d02d48e56b6a8b16e4b70180b2a.tar.gz samba-37279b1363db5d02d48e56b6a8b16e4b70180b2a.tar.bz2 samba-37279b1363db5d02d48e56b6a8b16e4b70180b2a.zip |
r11820: fixed some problems with the socket socket.c code.
- removed the duplicate calls to socket_connect(), instead creating a
common function socket_send_connect() used by both code paths
- fixed some NULL ptr checks (probably was cut-and-paste bugs)
- ensure we use the result of the name resolution
- added a few comments
- use 'fde' for the file description event. The variable name
'connect_ev' immediately made me think of an event context, not a
fde. Using common variable name conventions makes code a bit easier
to read
(This used to be commit 37b73521b4c858c78013279daaa71352c704551d)
Diffstat (limited to 'source4/include/structs.h')
0 files changed, 0 insertions, 0 deletions