aboutsummaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
Diffstat (limited to 'common/src')
-rw-r--r--common/src/stream.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/stream.rs b/common/src/stream.rs
index ca1ec29..79cb380 100644
--- a/common/src/stream.rs
+++ b/common/src/stream.rs
@@ -147,7 +147,7 @@ impl StreamSpec {
StreamSpec::Info {
segment: Some(segment),
} => format!("?info&segment={segment}"),
- StreamSpec::Info { segment: None } => format!("?info"),
+ StreamSpec::Info { segment: None } => "?info".to_string(),
StreamSpec::FragmentIndex { segment, track } => {
format!("?fragmentindex&segment={segment}&track={track}")
}