summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-20 15:35:49 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-20 15:35:49 +1000
commitcd167fd44b1833789f6e57766e4c5393bc468ff7 (patch)
tree0a394bfa562b1a4d53976cdf4db429f46602f8a1 /source4/libcli
parent5ca6f42510cd746f62d3973a3c01085876c71b7b (diff)
parent52f0af3990f79dfc6b2e784eed9e58a2a705d1ea (diff)
downloadsamba-cd167fd44b1833789f6e57766e4c5393bc468ff7.tar.gz
samba-cd167fd44b1833789f6e57766e4c5393bc468ff7.tar.bz2
samba-cd167fd44b1833789f6e57766e4c5393bc468ff7.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit e360be0b99b638afdfa789e217bf08f99d09be7a)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/dgram/dgramsocket.c2
-rw-r--r--source4/libcli/dgram/libdgram.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/source4/libcli/dgram/dgramsocket.c b/source4/libcli/dgram/dgramsocket.c
index 2cdda654ef..06b7bd5771 100644
--- a/source4/libcli/dgram/dgramsocket.c
+++ b/source4/libcli/dgram/dgramsocket.c
@@ -88,7 +88,7 @@ static void dgm_socket_recv(struct nbt_dgram_socket *dgmsock)
struct dgram_mailslot_handler *dgmslot;
dgmslot = dgram_mailslot_find(dgmsock, mailslot_name);
if (dgmslot) {
- dgmslot->handler(dgmslot, packet, mailslot_name, src);
+ dgmslot->handler(dgmslot, packet, src);
} else {
DEBUG(2,("No mailslot handler for '%s'\n", mailslot_name));
}
diff --git a/source4/libcli/dgram/libdgram.h b/source4/libcli/dgram/libdgram.h
index 51408d029e..e1209e7a54 100644
--- a/source4/libcli/dgram/libdgram.h
+++ b/source4/libcli/dgram/libdgram.h
@@ -70,7 +70,6 @@ struct nbt_dgram_socket {
typedef void (*dgram_mailslot_handler_t)(struct dgram_mailslot_handler *,
struct nbt_dgram_packet *,
- const char *mailslot_name,
struct socket_address *src);
struct dgram_mailslot_handler {