shithub: riscv

ref: a895a7593c66b53400d47bf9bfc671de2f7b73cb
dir: /sys/src/cmd/aquarela/smbcomtreedisconnect.c/

View raw version
#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);
}