diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-10 23:21:35 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-11 00:07:13 +0200 |
| commit | 0222b75e8554796548e079aa3393c512ae30ac24 (patch) | |
| tree | 5a154258ae5c1434a211ee67537e46ef64058437 /examples/hello/main.c | |
| parent | 832e198f8c77970b5b923eb18201ba83d9c72b80 (diff) | |
| download | libweb-0222b75e8554796548e079aa3393c512ae30ac24.tar.gz | |
Rename project from slweb to libwebv0.1.0-rc3
It was found out there was another project of the same name around
(https://git.sr.ht/~strahinja/slweb/), also related to website
generation.
In order to avoid confusion, a new name has been chosen for this
project. Surprisingly, libweb was not in use by any distributions
(according to https://repology.org and AUR index), and it should
reflect well the intention behind this project i.e., being a library
to build web-related stuff.
Diffstat (limited to 'examples/hello/main.c')
| -rw-r--r-- | examples/hello/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/hello/main.c b/examples/hello/main.c index d1a3206..59643ec 100644 --- a/examples/hello/main.c +++ b/examples/hello/main.c @@ -1,7 +1,7 @@ #include <dynstr.h> -#include <slweb/handler.h> -#include <slweb/html.h> -#include <slweb/http.h> +#include <libweb/handler.h> +#include <libweb/html.h> +#include <libweb/http.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> @@ -30,7 +30,7 @@ static int hello(const struct http_payload *const pl, fprintf(stderr, "%s: html_node_add_child p failed\n", __func__); goto end; } - else if (html_node_set_value(p, "Hello from slweb!")) + else if (html_node_set_value(p, "Hello from libweb!")) { fprintf(stderr, "%s: html_node_set_value p failed\n", __func__); goto end; |
