summaryrefslogtreecommitdiff
path: root/sys/src/cmd/aquarela/smbcomtreedisconnect.c
blob: 8196a4ca516cd5adf44f7724bb0990ee230ad433 (plain)
1
2
3
4
5
6
7
8
9
10
#include "headers.h"

SmbProcessResult
smbcomtreedisconnect(SmbSession *s, SmbHeader *h, uchar *, SmbBuffer *)
{
	if (!smbcheckwordcount("comtreedisconnect", h, 0))
		return SmbProcessResultFormat;
	smbtreedisconnectbyid(s, h->tid);
	return smbbufferputack(s->response, h, &s->peerinfo);
}