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