aboutsummaryrefslogtreecommitdiffstats
path: root/Managers
diff options
context:
space:
mode:
authorMauro Sardara <msardara+fdio@cisco.com>2017-06-05 18:59:26 +0200
committerMauro Sardara <msardara+fdio@cisco.com>2017-06-05 18:51:15 +0000
commit473e4b514ff411a1d4372f29eccea616d7ea4c60 (patch)
tree6632c5dc686df63546dbf7b0bb5d171d4707e5d7 /Managers
parent1ae6dc57663401973bbbdd090776494b194957d1 (diff)
- Changed library icnet - application interface
Change-Id: I25112ab1e1401a21ed2530d3874a7b4bf740ec5d Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'Managers')
-rw-r--r--Managers/MultimediaManager.cpp3
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;
}