diff options
Diffstat (limited to 'libpiano/src')
| -rw-r--r-- | libpiano/src/crypt.c | 2 | ||||
| -rw-r--r-- | libpiano/src/main.c | 5 | ||||
| -rw-r--r-- | libpiano/src/xml.c | 3 | 
3 files changed, 8 insertions, 2 deletions
diff --git a/libpiano/src/crypt.c b/libpiano/src/crypt.c index 475a1ce..8b2cc0e 100644 --- a/libpiano/src/crypt.c +++ b/libpiano/src/crypt.c @@ -104,7 +104,7 @@ char *PianoIntsToString (const unsigned int *arrInts, size_t arrIntsN) {  	for (i = 0; i < arrIntsN; i++) {  		/* map string to 4-byte int */  		tmp = (unsigned int *) &strDecoded[i*4]; -		/* FIXME: big endian does not need to byteswap */ +		/* FIXME: big endian does not need to byteswap? */  		*tmp = byteswap32 (arrInts[i]);  	}  	return strDecoded; diff --git a/libpiano/src/main.c b/libpiano/src/main.c index 698ce6e..42c51bf 100644 --- a/libpiano/src/main.c +++ b/libpiano/src/main.c @@ -712,6 +712,11 @@ PianoReturn_t PianoSetQuickmix (PianoHandle_t *ph) {  	return ret;  } +/*	get station from list by id + *	@param search here + *	@param search for this + *	@return the first station structure matching the given id + */  PianoStation_t *PianoFindStationById (PianoStation_t *stations,  		const char *searchStation) {  	while (stations != NULL) { diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c index 9db2644..66e937e 100644 --- a/libpiano/src/xml.c +++ b/libpiano/src/xml.c @@ -87,7 +87,8 @@ void PianoXmlIsFaultCb (const char *key, const xmlNode *value, void *data) {  			}  		}  	} else if (strcmp ("faultCode", key) == 0) { -		/* some error can only be identified by looking at their id */ +		/* some errors can only be identified by looking at their id */ +		/* detect pandora's ip restriction */  		if (strcmp ("12", valueStr) == 0) {  			*ret = PIANO_RET_IP_REJECTED;  		}  | 
