parent
ec51ff71c6
commit
b495b19470
|
@ -921,7 +921,7 @@ efreet_mime_shared_mimeinfo_magic_parse(char *data, int size)
|
|||
}
|
||||
else
|
||||
{
|
||||
short tshort;
|
||||
short tshort;
|
||||
|
||||
if (!mime) continue;
|
||||
if (!entry)
|
||||
|
@ -955,7 +955,7 @@ efreet_mime_shared_mimeinfo_magic_parse(char *data, int size)
|
|||
case '=':
|
||||
ptr++;
|
||||
|
||||
memcpy(&tshort, ptr, sizeof(short));
|
||||
memcpy(&tshort, ptr, sizeof(short));
|
||||
entry->value_len = ntohs(tshort);
|
||||
ptr += 2;
|
||||
|
||||
|
|
Loading…
Reference in New Issue