Commit df3ede47 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

http: use boolean for version

The version can only ever be 1 (meaning 1.1, the default) or 0
(meaning 1.0, the fallback).

This plugin does not support version 2.0 or obsolete version 0.9.
parent 79dbd164
...@@ -148,11 +148,11 @@ struct access_sys_t ...@@ -148,11 +148,11 @@ struct access_sys_t
/* */ /* */
int i_code; int i_code;
const char *psz_protocol; const char *psz_protocol;
int i_version;
char *psz_mime; char *psz_mime;
char *psz_pragma; char *psz_pragma;
char *psz_location; char *psz_location;
bool i_version;
bool b_mms; bool b_mms;
bool b_icecast; bool b_icecast;
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment