summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index 40bd64a..d401e65 100644
--- a/src/main.c
+++ b/src/main.c
@@ -142,8 +142,8 @@ int main (int argc, char **argv) {
reqData.step = 0;
BarUiMsg (MSG_INFO, "Login... ");
- if (!BarUiPianoCall (&app.ph, PIANO_REQUEST_LOGIN, &app.waith,
- &reqData, &pRet, &wRet)) {
+ if (!BarUiPianoCall (&app, PIANO_REQUEST_LOGIN, &reqData, &pRet,
+ &wRet)) {
BarTermRestore (&termOrig);
return 0;
}
@@ -154,8 +154,8 @@ int main (int argc, char **argv) {
WaitressReturn_t wRet;
BarUiMsg (MSG_INFO, "Get stations... ");
- if (!BarUiPianoCall (&app.ph, PIANO_REQUEST_GET_STATIONS, &app.waith,
- NULL, &pRet, &wRet)) {
+ if (!BarUiPianoCall (&app, PIANO_REQUEST_GET_STATIONS, NULL, &pRet,
+ &wRet)) {
BarTermRestore (&termOrig);
return 0;
}
@@ -243,8 +243,8 @@ int main (int argc, char **argv) {
reqData.format = app.settings.audioFormat;
BarUiMsg (MSG_INFO, "Receiving new playlist... ");
- if (!BarUiPianoCall (&app.ph, PIANO_REQUEST_GET_PLAYLIST,
- &app.waith, &reqData, &pRet, &wRet)) {
+ if (!BarUiPianoCall (&app, PIANO_REQUEST_GET_PLAYLIST,
+ &reqData, &pRet, &wRet)) {
app.curStation = NULL;
} else {
app.playlist = reqData.retPlaylist;