libixp

git clone git://oldgit.suckless.org/libixp/
Log | Files | Refs | LICENSE

commit f63efad7700523cbedf75b5b3ceb585f8bb3e0c8
parent 96a8beff61bd0b2a676224d7e5899f9a7a8ec4a5
Author: Kris Maglione <kris@suckless.org>
Date:   Thu, 29 Oct 2009 19:57:09 -0400

Make srv->wstat optional.

Update issue #150
Status: Started
The second part of this issue shoule be resolved.

Diffstat:
libixp/request.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/libixp/request.c b/libixp/request.c @@ -337,6 +337,10 @@ handlereq(Ixp9Req *r) { respond(r, "wstat on DMDIR bit"); return; } + if(!p9conn->srv->wstat) { + respond(r, Enofunc); + return; + } p9conn->srv->wstat(r); break; /* Still to be implemented: auth */