mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
use only allpids.APIDs in record.cpp & fix compil in netfile.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9d8fb59184
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-08-01 (Wed, 01 Aug 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1101,7 +1101,7 @@ FILE *f_open(const char *filename, const char *acctype)
|
||||
/* magic, if there is any */
|
||||
for (int i = 0; i < known_magic_count; i++)
|
||||
{
|
||||
if (((*(uint32_t *)&(magic[0])) & *(uint32_t *)&(known_magic[i].mask[0])) == *(uint32_t *)&(known_magic[i].mode[0]))
|
||||
if (((*(unsigned char *)&(magic[0])) & *(unsigned char *)&(known_magic[i].mask[0])) == *(unsigned char *)&(known_magic[i].mode[0]))
|
||||
{
|
||||
f_type(fd, known_magic[i].type);
|
||||
goto magic_found;
|
||||
|
Reference in New Issue
Block a user