diff options
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): |