Changeset 2af671a
- Timestamp:
- 2008-04-02T23:11:21Z (17 years ago)
- Branches:
- master
- Children:
- b7d3dff7
- Parents:
- 76eb071
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
r76eb071 r2af671a 1030 1030 } 1031 1031 1032 static char *skype_set_balance( set_t *set, char *value ) 1033 { 1034 account_t *acc = set->data; 1035 struct im_connection *ic = acc->ic; 1036 char *buf; 1037 1038 buf = g_strdup_printf("GET PROFILE PSTN_BALANCE"); 1039 skype_write( ic, buf, strlen( buf ) ); 1040 g_free(buf); 1041 return(value); 1042 } 1043 1032 1044 static char *skype_set_call( set_t *set, char *value ) 1033 1045 { … … 1235 1247 s = set_add( &acc->set, "call", NULL, skype_set_call, acc ); 1236 1248 s->flags |= ACC_SET_NOSAVE | ACC_SET_ONLINE_ONLY; 1249 1250 s = set_add( &acc->set, "balance", NULL, skype_set_balance, acc ); 1251 s->flags |= ACC_SET_NOSAVE | ACC_SET_ONLINE_ONLY; 1237 1252 } 1238 1253
Note: See TracChangeset
for help on using the changeset viewer.