From 172826bf13a8c73e8ced87cd3ad64eef1c1c2e91 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Fri, 25 Aug 2023 18:51:14 +0000 Subject: [PATCH] Use the right default port now that I'm not always running two different clients side-by-side. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4428 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 55e0dbf2..c9f54d1f 100644 --- a/src/main.c +++ b/src/main.c @@ -381,7 +381,7 @@ static int _tf_command_run(const char* file, int argc, char* argv[]) { xoptOption options[] = { { "script", 's', offsetof(tf_run_args_t, script), NULL, XOPT_TYPE_STRING, NULL, "Script to run (default: core/core.js)." }, - { "ssb-port", 'b', offsetof(tf_run_args_t, ssb_port), NULL, XOPT_TYPE_INT, NULL, "Port on which to run SSB (default: 8009)." }, + { "ssb-port", 'b', offsetof(tf_run_args_t, ssb_port), NULL, XOPT_TYPE_INT, NULL, "Port on which to run SSB (default: 8008)." }, { "http-port", 'p', offsetof(tf_run_args_t, http_port), NULL, XOPT_TYPE_INT, NULL, "Port on which to run Tilde Friends web server (default: 12345)." }, { "https-port", 'q', offsetof(tf_run_args_t, https_port), NULL, XOPT_TYPE_INT, NULL, "Port on which to run secure Tilde Friends web server (default: 12346)." }, { "db-path", 'd', offsetof(tf_run_args_t, db_path), NULL, XOPT_TYPE_STRING, NULL, "Sqlite database path (default: db.sqlite)." }, @@ -398,7 +398,7 @@ static int _tf_command_run(const char* file, int argc, char* argv[]) .script = "core/core.js", .http_port = 12345, .https_port = 12346, - .ssb_port = 8009, + .ssb_port = 8008, .db_path = k_db_path_default, }; const char** extras = NULL;