summaryrefslogtreecommitdiff
path: root/libpiano/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpiano/main.c')
-rw-r--r--libpiano/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpiano/main.c b/libpiano/main.c
index 4d186a9..3e77490 100644
--- a/libpiano/main.c
+++ b/libpiano/main.c
@@ -168,7 +168,6 @@ void PianoDestroy (PianoHandle_t *ph) {
* @return nothing
*/
void PianoConnect (PianoHandle_t *ph, char *user, char *password) {
- /* sync */
char url[PIANO_URL_BUFFER_SIZE];
char *requestStr = PianoEncryptString ("<?xml version=\"1.0\"?>"
"<methodCall><methodName>misc.sync</methodName>"
@@ -415,8 +414,9 @@ PianoReturn_t PianoDeleteStation (PianoHandle_t *ph, PianoStation_t *station) {
return ret;
}
-/* search for music (artist or track), needed to create new station, don't
- * forget to free the search result
+/* search for music (artist or track), needed to create new station; don't
+ * forget to free the search result; beware! searchResult will be nulled
+ * by PianoXmlParseSearch
* @author PromyLOPh
* @added 2008-06-11
* @public yes