From bc3c92cb0e5a219d8f94a8bee6765885dbfc4333 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 9 Aug 2010 11:22:10 +0200 Subject: Make something useful with misc.sync response Calculcate offset to time() and use that offset to avoid out of sync errors. --- src/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main.c b/src/main.c index 79688d2..4c15698 100644 --- a/src/main.c +++ b/src/main.c @@ -138,6 +138,7 @@ int main (int argc, char **argv) { PianoRequestDataLogin_t reqData; reqData.user = app.settings.username; reqData.password = app.settings.password; + reqData.step = 0; BarUiMsg (MSG_INFO, "Login... "); if (!BarUiPianoCall (&app.ph, PIANO_REQUEST_LOGIN, &app.waith, -- cgit v1.2.3