Fix
This commit is contained in:
parent
3997453751
commit
e782cc3dc2
1 changed files with 2 additions and 2 deletions
|
@ -581,9 +581,9 @@ std::string Interface::mdatFold(std::string data){
|
|||
std::string Result;
|
||||
unsigned int t_int;
|
||||
t_int = htonl(data.size()+8);
|
||||
Result.append(t_int, 4);
|
||||
Result.append((char*)&t_int, 4);
|
||||
t_int = htonl(0x6D646174);
|
||||
Result.append(t_int, 4);
|
||||
Result.append((char*)&t_int, 4);
|
||||
Result.append(data);
|
||||
return Result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue