diff options
Diffstat (limited to 'Managers/MultimediaManager.cpp')
-rw-r--r-- | Managers/MultimediaManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Managers/MultimediaManager.cpp b/Managers/MultimediaManager.cpp index faab66cf..52dbd6a7 100644 --- a/Managers/MultimediaManager.cpp +++ b/Managers/MultimediaManager.cpp @@ -117,10 +117,12 @@ bool MultimediaManager::initICN(const std::string& url) return false; } ret = icnConn->Read((uint8_t*)data, 4096); + printf("downloaded %d\n", ret); while(ret) { fwrite(data, sizeof(char), ret, fp); ret = icnConn->Read((uint8_t*)data,4096); + printf("downloaded %d\n", ret); } fclose(fp); this->mpd = this->manager->Open(const_cast<char*>(downloadFile.c_str()), url); @@ -136,6 +138,7 @@ bool MultimediaManager::initICN(const std::string& url) free(data); delete icnConn; LeaveCriticalSection(&this->monitorMutex); + printf("return true\n"); return true; } |