diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-10-14 20:32:21 +0200 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-10-14 20:33:28 +0200 |
commit | 2970aa61feddd11c9b4421cc8a5e31e8ad31ef10 (patch) | |
tree | ccc28828641df4201e6e691b6b39099f3db0afd7 /solter.py | |
parent | c56e0b5feea6450fe33339fb7d82ad2ef62f0284 (diff) |
Fix send function after failing test
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'solter.py')
-rwxr-xr-x | solter.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ def get_commands_send_data(sockfd: int, data: str, **kwargs): if '"' in data or "\n" in data: raise ValueError("Double-quotes and newlines are not supported") - return [f'call (int)send({sockfd}, "{data}", {len(data)}, {MSG_NOSIGNAL})'] + return [f'call (int)send({sockfd}, "{data}", {len(data)}, {hex(MSG_NOSIGNAL)})'] def get_commands_enable_keepalive(**kwargs): |