FS#12085 - Correction of iap.c to avoid sending useless data to an accessory, and allow larger playlists names

Attached to Project: Rockbox
Opened by Ophir Lojkine (lovasoa) - Thursday, 28 April 2011, 20:31 GMT
Last edited by Bertrik Sikken (bertrik) - Saturday, 30 April 2011, 09:17 GMT
Task Type Bugs
Category Operating System/Drivers
Status Closed
Assigned To No-one
Operating System iPod 5G
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This patch corrects a bit my previous patch, which has yet been committed (

It removes an ugly #define I used, and makes use of the standard MAX_PATH instead.
It also send just the needed length when sending a string to the accessory. Before, it sent the entire buffer to the device, whereas now, it stops at the first '\0' (null byte).
This task depends upon

Closed by  Bertrik Sikken (bertrik)
Saturday, 30 April 2011, 09:17 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed as SVN r29796