Skip to content
Snippets Groups Projects
Commit 5b71e91e authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: lib/modules/Protocols.pmod/X.pmod/my_struct.pmod:1.4
parent 94d2f1f0
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ class struct {
void put_var_string(string s, int len)
{
if ( (len <= 3) && (strlen(s) >= ({ -1, 0x100, 0x10000, 0x1000000 })[len] ))
error("ADT.struct->put_var_String: Field overflow.\n");
error("ADT.struct->put_var_string: Field overflow.\n");
put_uint(strlen(s), len);
add_data(s);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment