diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-09-20 09:13:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:53 -0500 |
commit | be61c9d8773eb3d0dd97bcd5e9ccd3f1aabcd1d6 (patch) | |
tree | 419697c4f043ce721b110da67def9678a4c90d82 /source4/lib/socket/socket.h | |
parent | 635f5fa942c2ecd82a2a787b96bf2ce2a587c616 (diff) | |
download | samba-be61c9d8773eb3d0dd97bcd5e9ccd3f1aabcd1d6.tar.gz samba-be61c9d8773eb3d0dd97bcd5e9ccd3f1aabcd1d6.tar.bz2 samba-be61c9d8773eb3d0dd97bcd5e9ccd3f1aabcd1d6.zip |
r2439: - function that return just an int don't need a TALLOC_CTX
- fix some return and state bugs
metze
(This used to be commit 2757c593ab746b9dd7090f2cf5fcc31686adf67f)
Diffstat (limited to 'source4/lib/socket/socket.h')
-rw-r--r-- | source4/lib/socket/socket.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/socket/socket.h b/source4/lib/socket/socket.h index 10e937c4e2..ea4de1d291 100644 --- a/source4/lib/socket/socket.h +++ b/source4/lib/socket/socket.h @@ -56,11 +56,11 @@ struct socket_ops { NTSTATUS (*set_option)(struct socket_context *sock, const char *option, const char *val); char *(*get_peer_addr)(struct socket_context *sock, TALLOC_CTX *mem_ctx); - int (*get_peer_port)(struct socket_context *sock, TALLOC_CTX *mem_ctx); + int (*get_peer_port)(struct socket_context *sock); char *(*get_my_addr)(struct socket_context *sock, TALLOC_CTX *mem_ctx); - int (*get_my_port)(struct socket_context *sock, TALLOC_CTX *mem_ctx); + int (*get_my_port)(struct socket_context *sock); - int (*get_fd)(struct socket_context *sock, TALLOC_CTX *mem_ctx); + int (*get_fd)(struct socket_context *sock); }; enum socket_state { |