diff --git a/examples/async-curl/src/http.c b/examples/async-curl/src/http.c index f88c3b3..6ecc433 100644 --- a/examples/async-curl/src/http.c +++ b/examples/async-curl/src/http.c @@ -122,7 +122,7 @@ state_result(struct http_request *req) */ kore_curl_response_as_bytes(client, &body, &len); - /* We could check the existance of a header: */ + /* We could check the existence of a header: */ if (kore_curl_http_get_header(client, "server", &header)) printf("got server header: '%s'\n", header); diff --git a/examples/nohttp/src/nohttp.c b/examples/nohttp/src/nohttp.c index 510b1ac..8fda0f3 100644 --- a/examples/nohttp/src/nohttp.c +++ b/examples/nohttp/src/nohttp.c @@ -59,7 +59,7 @@ connection_setup(struct connection *c) * net_send_flush() or net_recv_flush() if KORE_EVENT_WRITE or * KORE_EVENT_READ are set respectively in c->evt.flags. * Returning KORE_RESULT_ERROR from this callback will disconnect the - * connection alltogether. + * connection altogether. */ int connection_handle(struct connection *c) diff --git a/examples/pgsql-sync/src/pgsql-sync.c b/examples/pgsql-sync/src/pgsql-sync.c index 59d20b1..7239d10 100644 --- a/examples/pgsql-sync/src/pgsql-sync.c +++ b/examples/pgsql-sync/src/pgsql-sync.c @@ -64,7 +64,7 @@ page(struct http_request *req) /* * Now we can fire off the query, once it returns we either have - * a result on which we can operate or an error occured. + * a result on which we can operate or an error occurred. */ if (!kore_pgsql_query(&sql, "SELECT * FROM coders")) { kore_pgsql_logerror(&sql);