summaryrefslogtreecommitdiff
path: root/source4/nbt_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-10 15:51:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:08 -0500
commit3cdaf4c9065f94e931c62cef1f718d3884488aa1 (patch)
tree70092a8c435e9f41ce78e5c404dbf2ab6737f93a /source4/nbt_server
parent507286dbcdeeba77e630852257489129e7211b46 (diff)
downloadsamba-3cdaf4c9065f94e931c62cef1f718d3884488aa1.tar.gz
samba-3cdaf4c9065f94e931c62cef1f718d3884488aa1.tar.bz2
samba-3cdaf4c9065f94e931c62cef1f718d3884488aa1.zip
r11648: fix some bugs...
metze (This used to be commit 475eb4cc96aa147897fd6b0d5b5cc0509fb1d2a0)
Diffstat (limited to 'source4/nbt_server')
-rw-r--r--source4/nbt_server/dgram/browse.c2
-rw-r--r--source4/nbt_server/dgram/request.c6
-rw-r--r--source4/nbt_server/irpc.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/source4/nbt_server/dgram/browse.c b/source4/nbt_server/dgram/browse.c
index 83ed92d4c5..84f5a5b4ff 100644
--- a/source4/nbt_server/dgram/browse.c
+++ b/source4/nbt_server/dgram/browse.c
@@ -31,7 +31,7 @@
*/
void nbtd_mailslot_browse_handler(struct dgram_mailslot_handler *dgmslot,
struct nbt_dgram_packet *packet,
- struct nbt_peer_socket *src)
+ const struct nbt_peer_socket *src)
{
DEBUG(2,("Browse request on '%s' from %s:%d\n",
dgmslot->mailslot_name, src->addr, src->port));
diff --git a/source4/nbt_server/dgram/request.c b/source4/nbt_server/dgram/request.c
index 8ccdeabf71..9517ab2387 100644
--- a/source4/nbt_server/dgram/request.c
+++ b/source4/nbt_server/dgram/request.c
@@ -44,10 +44,10 @@ static const struct {
are handled in the specific mailslot handlers
*/
void dgram_request_handler(struct nbt_dgram_socket *dgmsock,
- struct nbt_dgram_packet *packet,
- const char *src_address, int src_port)
+ struct nbt_dgram_packet *packet,
+ const struct nbt_peer_socket *src)
{
- DEBUG(0,("General datagram request from %s:%d\n", src_address, src_port));
+ DEBUG(0,("General datagram request from %s:%d\n", src->addr, src->port));
NDR_PRINT_DEBUG(nbt_dgram_packet, packet);
}
diff --git a/source4/nbt_server/irpc.c b/source4/nbt_server/irpc.c
index c5d7a83d83..75a950b5c4 100644
--- a/source4/nbt_server/irpc.c
+++ b/source4/nbt_server/irpc.c
@@ -57,7 +57,7 @@ struct getdc_state {
static void getdc_recv_ntlogon_reply(struct dgram_mailslot_handler *dgmslot,
struct nbt_dgram_packet *packet,
- const char *src_address, int src_port)
+ const struct nbt_peer_socket *src)
{
struct getdc_state *s =
talloc_get_type(dgmslot->private, struct getdc_state);