Changeset 7add7ec for protocols/purple
- Timestamp:
- 2011-03-08T06:48:39Z (14 years ago)
- Branches:
- master
- Children:
- 420d80d1
- Parents:
- 93cc86f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/purple/purple.c
r93cc86f r7add7ec 1240 1240 fprintf( stderr, "libpurple initialization failed.\n" ); 1241 1241 abort(); 1242 } 1243 1244 if( proxytype != PROXY_NONE ) 1245 { 1246 PurpleProxyInfo *pi = purple_proxy_info_new(); 1247 switch( proxytype ) 1248 { 1249 case PROXY_SOCKS4: 1250 purple_proxy_info_set_type( pi, PURPLE_PROXY_SOCKS4 ); 1251 break; 1252 case PROXY_SOCKS5: 1253 purple_proxy_info_set_type( pi, PURPLE_PROXY_SOCKS5 ); 1254 break; 1255 case PROXY_HTTP: 1256 purple_proxy_info_set_type( pi, PURPLE_PROXY_HTTP ); 1257 break; 1258 } 1259 purple_proxy_info_set_host( pi, proxyhost ); 1260 purple_proxy_info_set_port( pi, proxyport ); 1261 purple_proxy_info_set_username( pi, proxyuser ); 1262 purple_proxy_info_set_password( pi, proxypass ); 1263 purple_global_proxy_set_info( pi ); 1242 1264 } 1243 1265
Note: See TracChangeset
for help on using the changeset viewer.