diff options
-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)); |