Skip to content

Commit

Permalink
docs fix #134
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsegev committed Dec 11, 2021
1 parent ac0138a commit 7b8e5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -48,7 +48,7 @@ int main(int argc, char const **argv) {
// listen on port 3000 and any available network binding (NULL == 0.0.0.0)
http_listen("3000", NULL, .on_request = on_request, .log = 1);
// start the server
facil_run(.threads = 1);
facil_start(.threads = 1);
// deallocating the common values
fiobj_free(HTTP_X_DATA);
}
Expand Down

0 comments on commit 7b8e5fc

Please sign in to comment.