diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tsocket/tsocket.h | 14 | ||||
-rw-r--r-- | lib/tsocket/tsocket_bsd.c | 10 |
2 files changed, 12 insertions, 12 deletions
diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h index 84e74afa89..a4ae3fc32a 100644 --- a/lib/tsocket/tsocket.h +++ b/lib/tsocket/tsocket.h @@ -110,13 +110,13 @@ int _tdgram_inet_udp_socket(const struct tsocket_address *local, #define tdgram_inet_udp_socket(local, remote, mem_ctx, dgram) \ _tdgram_inet_udp_socket(local, remote, mem_ctx, dgram, __location__) -int _tdgram_unix_dgram_socket(const struct tsocket_address *local, - const struct tsocket_address *remote, - TALLOC_CTX *mem_ctx, - struct tdgram_context **dgram, - const char *location); -#define tdgram_unix_dgram_socket(local, remote, mem_ctx, dgram) \ - _tdgram_unix_dgram_socket(local, remote, mem_ctx, dgram, __location__) +int _tdgram_unix_socket(const struct tsocket_address *local, + const struct tsocket_address *remote, + TALLOC_CTX *mem_ctx, + struct tdgram_context **dgram, + const char *location); +#define tdgram_unix_socket(local, remote, mem_ctx, dgram) \ + _tdgram_unix_socket(local, remote, mem_ctx, dgram, __location__) /* * Queue helpers diff --git a/lib/tsocket/tsocket_bsd.c b/lib/tsocket/tsocket_bsd.c index 34ae60ee09..2b68f178c3 100644 --- a/lib/tsocket/tsocket_bsd.c +++ b/lib/tsocket/tsocket_bsd.c @@ -1233,11 +1233,11 @@ int _tdgram_inet_udp_socket(const struct tsocket_address *local, return ret; } -int _tdgram_unix_dgram_socket(const struct tsocket_address *local, - const struct tsocket_address *remote, - TALLOC_CTX *mem_ctx, - struct tdgram_context **dgram, - const char *location) +int _tdgram_unix_socket(const struct tsocket_address *local, + const struct tsocket_address *remote, + TALLOC_CTX *mem_ctx, + struct tdgram_context **dgram, + const char *location) { struct tsocket_address_bsd *lbsda = talloc_get_type_abort(local->private_data, |