diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-08-09 11:22:10 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-08-09 12:01:58 +0200 |
commit | bc3c92cb0e5a219d8f94a8bee6765885dbfc4333 (patch) | |
tree | 98208c5f72e06bd45956247bc69328f9e9a89f30 /src | |
parent | 2269c74007cbae25875f76195fdc8d548da8f0ce (diff) | |
download | pianobar-bc3c92cb0e5a219d8f94a8bee6765885dbfc4333.tar.gz pianobar-bc3c92cb0e5a219d8f94a8bee6765885dbfc4333.tar.bz2 pianobar-bc3c92cb0e5a219d8f94a8bee6765885dbfc4333.zip |
Make something useful with misc.sync response
Calculcate offset to time() and use that offset to avoid out of sync
errors.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |