summaryrefslogtreecommitdiff
path: root/server/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-18 21:04:11 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-23 19:21:22 +0200
commitf4bc78d9dffda792cde848e0ae8040a98959591b (patch)
tree271ff06cbda6955eb5e093f83a952b9cb7b3e2a6 /server/src/main.rs
parent48934ff63ee14d4759eda36512af87361dd915dd (diff)
downloadhurrycurry-f4bc78d9dffda792cde848e0ae8040a98959591b.tar
hurrycurry-f4bc78d9dffda792cde848e0ae8040a98959591b.tar.bz2
hurrycurry-f4bc78d9dffda792cde848e0ae8040a98959591b.tar.zst
passive works
Diffstat (limited to 'server/src/main.rs')
-rw-r--r--server/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main.rs b/server/src/main.rs
index 6cb65141..c4df346e 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -53,7 +53,7 @@ async fn main() -> Result<()> {
});
}
- for id in 0.. {
+ for id in 1.. {
tokio::select! {
r = raw_listener.accept() => {
let (sock, addr) = r?;