bzero -> memset

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1277 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2011-03-09 12:40:37 +00:00
parent 50243949c8
commit 42fab7d679
3 changed files with 5 additions and 5 deletions

View File

@@ -1072,7 +1072,7 @@ void CControlAPI::channelEPGAsXML(CyhookHandler *hh, int bouquetnr, t_channel_id
struct tm *mtime = localtime(&eventIterator->startTime);
strftime(zbuffer,20,"%H:%M",mtime);
hh->printf("\t<start_t>%s</start_t>\r\n", zbuffer);
bzero(zbuffer,25);
memset(zbuffer,0,sizeof(zbuffer));
strftime(zbuffer,20,"%d.%m.%Y",mtime);
hh->printf("\t<date>%s</date>\r\n", zbuffer);
hh->printf("\t<stop_sec>%ld</stop_sec>\r\n", eventIterator->startTime+eventIterator->duration);