Mercurial > audlegacy-plugins
comparison src/lastfm/lastfm.c @ 2124:b8da6a0b0da2
s/bmp_cfg_/aud_cfg_/g
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 24 Oct 2007 07:34:02 +0300 |
parents | fa9f85cebade |
children | 39398ff5e162 |
comparison
equal
deleted
inserted
replaced
2123:c349bd73af71 | 2124:b8da6a0b0da2 |
---|---|
110 { /* and then uses them to create a login URL*/ | 110 { /* and then uses them to create a login URL*/ |
111 ConfigDb *cfg = NULL; | 111 ConfigDb *cfg = NULL; |
112 gchar *buf=NULL, | 112 gchar *buf=NULL, |
113 *username = NULL, | 113 *username = NULL, |
114 *password = NULL; | 114 *password = NULL; |
115 if ((cfg = bmp_cfg_db_open()) != NULL) | 115 if ((cfg = aud_cfg_db_open()) != NULL) |
116 { | 116 { |
117 bmp_cfg_db_get_string(cfg, "audioscrobbler","username", | 117 aud_cfg_db_get_string(cfg, "audioscrobbler","username", |
118 &username); | 118 &username); |
119 bmp_cfg_db_get_string(cfg, "audioscrobbler","password", | 119 aud_cfg_db_get_string(cfg, "audioscrobbler","password", |
120 &password); | 120 &password); |
121 g_free(cfg); | 121 g_free(cfg); |
122 } | 122 } |
123 if (username != NULL && password != NULL) | 123 if (username != NULL && password != NULL) |
124 { | 124 { |