diff options
Diffstat (limited to 'plop.c')
-rw-r--r-- | plop.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 } |