ref: eee5cb15e7e014a6dda383d0482c43dca65b6336
dir: /sys/src/cmd/aquarela/smbcomtreedisconnect.c/
#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);
}