Skip to content

Commit

Permalink
fix: is_stream value
Browse files Browse the repository at this point in the history
This commit corrects the value for "is_stream" in YouTube searches.

fixes #1
  • Loading branch information
ThePedroo committed May 25, 2024
1 parent 6e9a3e2 commit 74ed186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/youtube.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ struct tstr_string frequenc_youtube_search(char *query, int type) {
.length = identifier->v.len,
.allocated = true
},
.is_stream = !!length_int,
.is_stream = !length_int,
.uri = (struct tstr_string) {
.string = uri_str,
.length = uri_len,
Expand Down

0 comments on commit 74ed186

Please sign in to comment.