From decad112401877c2986ed04fb8f3e0084542f251 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <PromyLOPh@lavabit.com>
Date: Thu, 9 Jul 2009 21:50:19 +0200
Subject: piano: Quick note about sync command

---
 libpiano/src/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'libpiano/src')

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));
-- 
cgit v1.2.3