# HG changeset patch # User nenolod # Date 1149410021 25200 # Node ID d43080f005874ef77535b641e443c8f3ef096187 # Parent 78d1d5307b29f38d60e4b23a62457b3203574a44 [svn] - proxy support hack diff -r 78d1d5307b29 -r d43080f00587 Plugins/Input/mpg123/mpg123.c --- 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);