diff options
| author | Syndamia <kamen@syndamia.com> | 2024-01-07 12:37:36 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2024-01-07 12:37:36 +0200 |
| commit | f2dc031f37282ff04ce07887f3b388092115139b (patch) | |
| tree | ccc690193bb9168449c01c836b94086060a7e555 /src/browser-cli.c | |
| parent | f9990172848eb65f6549a0326d9476df3215e567 (diff) | |
| download | pico-web-f2dc031f37282ff04ce07887f3b388092115139b.tar pico-web-f2dc031f37282ff04ce07887f3b388092115139b.tar.gz pico-web-f2dc031f37282ff04ce07887f3b388092115139b.zip | |
(browser-cli) Renamed handleCLI to handleBrowserCLI, so there is no collision for tests
Diffstat (limited to 'src/browser-cli.c')
| -rw-r--r-- | src/browser-cli.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/browser-cli.c b/src/browser-cli.c index 3bea4ba..75a2374 100644 --- a/src/browser-cli.c +++ b/src/browser-cli.c @@ -3,9 +3,9 @@ #include <stdio.h> #include <string.h> -#include <sds/sds.h> #include <regex.h> -#include <util.h> +#include "sds/sds.h" +#include "util.h" struct md_syntax { regex_t anchor; @@ -103,7 +103,7 @@ char* findBeginningOfPath(char* uri) { return startPath; } -int handleCLI(sds *host, sds *port, sds *uri, const sds page) { +int handleBrowserCLI(sds *host, sds *port, sds *uri, const sds page) { // Get a line char line[1024]; fgets(line, 1024, stdin); |
