Set len to 0 if string is empty.
Set len to 0 if string is empty.


git-svn-id: 3b314052443b93febe203188962ed8b6ee39ceb7@35 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

Pelagicore/Media-Manager-lightmediascanner-patched,profusion/lightmediascanner,profusion/lightmediascanner,Pelagicore/Media-Manager-lightmediascanner-patched,Pelagicore/Media-Manager-lightmediascanner-patched,profusion/lightmediascanner