Mercurial > audlegacy
changeset 1134:d43080f00587 trunk
[svn] - proxy support hack
author | nenolod |
---|---|
date | Sun, 04 Jun 2006 01:33:41 -0700 |
parents | 78d1d5307b29 |
children | 6dd4db5212ae |
files | Plugins/Input/mpg123/mpg123.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Input/mpg123/mpg123.c Sun Jun 04 01:30:51 2006 -0700 +++ b/Plugins/Input/mpg123/mpg123.c Sun Jun 04 01:33:41 2006 -0700 @@ -149,6 +149,7 @@ init(void) { ConfigDb *db; + gchar *tmp; ins = mpgdec_new(); @@ -206,7 +207,8 @@ bmp_cfg_db_get_bool(db, NULL, "use_proxy", &mpgdec_cfg.use_proxy); bmp_cfg_db_get_string(db, NULL, "proxy_host", &mpgdec_cfg.proxy_host); - bmp_cfg_db_get_int(db, NULL, "proxy_port", &mpgdec_cfg.proxy_port); + bmp_cfg_db_get_string(db, NULL, "proxy_port", &tmp); + mpgdec_cfg.proxy_port = atoi(tmp); bmp_cfg_db_get_bool(db, NULL, "proxy_use_auth", &mpgdec_cfg.proxy_use_auth); bmp_cfg_db_get_string(db, NULL, "proxy_user", &mpgdec_cfg.proxy_user); bmp_cfg_db_get_string(db, NULL, "proxy_pass", &mpgdec_cfg.proxy_pass);