From a4e157dffa18d5caed87b06c706447fd8f6fb02e Mon Sep 17 00:00:00 2001 From: Sijmen Date: Tue, 25 Apr 2023 04:04:46 +0200 Subject: [PATCH] Remove dbg! call in sse function --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index c3a31a0..3d4bae2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -88,10 +88,9 @@ async fn sse(_req: tide::Request<()>, sender: tide::sse::Sender) -> tide::Result let mut reader = BufReader::new(stream.clone()); // skip OK MPD line - // TODO check + // TODO check if it is indeed OK let mut buffer = String::new(); reader.read_line(&mut buffer).await?; - dbg!(&buffer); loop { stream.write_all(b"idle playlist player\n").await?;