summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-05-20 11:54:50 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-05-20 11:54:50 +1000
commitaa90730e0c2617c3d2ab477c3f08c26adb582b21 (patch)
treea909e5ebc0df0d664ef0c537330fb1524a7086ca /source4/torture
parente533e7a7ebc8b3029cf604e63cdc6d1cf8570ccd (diff)
downloadsamba-aa90730e0c2617c3d2ab477c3f08c26adb582b21.tar.gz
samba-aa90730e0c2617c3d2ab477c3f08c26adb582b21.tar.bz2
samba-aa90730e0c2617c3d2ab477c3f08c26adb582b21.zip
Revert addition of 'mailslot' parameter.
It turns out that the mailslot name (and a useful private prointer) is provided in the struct dgram_mailslot_handler. Andrew Bartlett (This used to be commit e17804b8857fdb3c182c5e886323b9d6c194c2ff)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/nbt/dgram.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/nbt/dgram.c b/source4/torture/nbt/dgram.c
index ce5758977d..2bc3d3d75e 100644
--- a/source4/torture/nbt/dgram.c
+++ b/source4/torture/nbt/dgram.c
@@ -39,7 +39,6 @@
*/
static void netlogon_handler(struct dgram_mailslot_handler *dgmslot,
struct nbt_dgram_packet *packet,
- const char *mailslot_name,
struct socket_address *src)
{
NTSTATUS status;
@@ -54,7 +53,7 @@ static void netlogon_handler(struct dgram_mailslot_handler *dgmslot,
src->addr, src->port);
return;
}
-
+
(*replies)++;
}