diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-07-09 21:50:19 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-07-09 21:50:19 +0200 |
commit | decad112401877c2986ed04fb8f3e0084542f251 (patch) | |
tree | c86f754b4c66c079ce9fefdbd605de6547d4d9e4 | |
parent | a195a94be7aa14d839c77275814a52d2ee6b8b6f (diff) | |
download | pianobar-windows-decad112401877c2986ed04fb8f3e0084542f251.tar.gz pianobar-windows-decad112401877c2986ed04fb8f3e0084542f251.tar.bz2 pianobar-windows-decad112401877c2986ed04fb8f3e0084542f251.zip |
piano: Quick note about sync command
-rw-r--r-- | libpiano/src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpiano/src/main.c b/libpiano/src/main.c index 380fbed..3e22891 100644 --- a/libpiano/src/main.c +++ b/libpiano/src/main.c @@ -200,7 +200,8 @@ PianoReturn_t PianoConnect (PianoHandle_t *ph, const char *user, "encryption key. You will not be able to connect to pandora.\n" "==========\n"); #endif - /* sync (is the return value used by pandora? for now: ignore result) */ + /* sync and throw away result (it's an encrypted timestamp, decrypt with + * PianoDecryptString) */ snprintf (ph->waith.path, sizeof (ph->waith.path), PIANO_RPC_PATH "rid=%s&method=sync", ph->routeId); ret = PianoHttpPost (&ph->waith, requestStr, retStr, sizeof (retStr)); |