From 756cefee230314828bc7ea5e182c4bac2ec33317 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Fri, 22 Oct 2010 18:29:40 +0200 Subject: [PATCH] improved server salutation --- examples/server.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/server.c b/examples/server.c index e87a5fe9..17875e5f 100644 --- a/examples/server.c +++ b/examples/server.c @@ -96,7 +96,9 @@ add_contents( coap_pdu_t *pdu, unsigned int mediatype, unsigned int len, unsigne coap_add_data(pdu, len, data); } -#define INDEX "Hi there!" +#define INDEX "This is a test server made with libcoap (see http://libcoap.sf.net)\n" \ + "Copyright (C) 2010 Olaf Bergmann \n\n" \ + "Try to get .well-known/core or POST/PUT data if you like." coap_opt_t * coap_next_option(coap_pdu_t *pdu, coap_opt_t *opt) {