Changeset f5aedd91
- Timestamp:
- 2008-01-10T16:10:10Z (17 years ago)
- Branches:
- master
- Children:
- 6abf3ec
- Parents:
- 4bbd9db
- Location:
- skype
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/README
r4bbd9db rf5aedd91 119 119 ---- 120 120 account add skype <user> <pass> 121 account set 0/server localhost122 121 ---- 123 122 -
skype/skype.c
r4bbd9db rf5aedd91 30 30 #include <glib.h> 31 31 32 #define SKYPE_DEFAULT_SERVER "localhost" 32 33 #define SKYPE_DEFAULT_PORT "2727" 33 34 … … 139 140 s->flags |= ACC_SET_OFFLINE_ONLY; 140 141 141 s = set_add( &acc->set, "server", NULL, set_eval_account, acc );142 s->flags |= ACC_SET_ NOSAVE | ACC_SET_OFFLINE_ONLY;142 s = set_add( &acc->set, "server", SKYPE_DEFAULT_SERVER, set_eval_account, acc ); 143 s->flags |= ACC_SET_OFFLINE_ONLY; 143 144 } 144 145 … … 775 776 776 777 imcb_log( ic, "Connecting" ); 777 sd->fd = proxy_connect( acc->server, set_getint( &acc->set, "port" ), skype_connected, ic );778 sd->fd = proxy_connect(set_getstr( &acc->set, "server" ), set_getint( &acc->set, "port" ), skype_connected, ic ); 778 779 sd->username = g_strdup( acc->user ); 779 780
Note: See TracChangeset
for help on using the changeset viewer.