summaryrefslogtreecommitdiffhomepage
path: root/plop.c
diff options
context:
space:
mode:
Diffstat (limited to 'plop.c')
-rw-r--r--plop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plop.c b/plop.c
index 16f486c..794715a 100644
--- a/plop.c
+++ b/plop.c
@@ -85,7 +85,9 @@ int handle_client(struct pollfd * pfd, const int shift_by)
return -1; // TODO: Handle errors properly
}
- if (-1 == respond_only_status(pfd->fd, STATUS_NOT_IMPLEMENTED))
+ static const char * body = "plop!";
+
+ if (-1 == respond_with_body(pfd->fd, STATUS_OK, body))
{
// TODO: Handle errors properly
}