diff options
author | Mattias Andrée <maandree@kth.se> | 2022-04-22 21:25:46 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-04-22 21:25:46 +0200 |
commit | 2c4f665818316f7b6d96bd8a7ca45b608c25879c (patch) | |
tree | e2b4b9401b6d21a66d5303838b8eab2f542399ca /libaxl_send_handshake.c | |
parent | Housekeeping and documentation (diff) | |
download | libaxl-2c4f665818316f7b6d96bd8a7ca45b608c25879c.tar.gz libaxl-2c4f665818316f7b6d96bd8a7ca45b608c25879c.tar.bz2 libaxl-2c4f665818316f7b6d96bd8a7ca45b608c25879c.tar.xz |
Housekeeping
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libaxl_send_handshake.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libaxl_send_handshake.c b/libaxl_send_handshake.c index 836cec9..99966fd 100644 --- a/libaxl_send_handshake.c +++ b/libaxl_send_handshake.c @@ -32,7 +32,7 @@ libaxl_send_handshake(LIBAXL_CONTEXT *restrict ctx, const char *auth_name, size_ conn->info.protocol_version_major = LIBAXL_PROTOCOL_VERSION_MAJOR; conn->info.protocol_version_minor = LIBAXL_PROTOCOL_VERSION_MINOR; conn->info.protocol_version = LIBAXL_PROTOCOL_VERSION; - conn->info.protocol_byte_order = LIBAXL_MSB_FIRST; /* TODO Use LIBAXL_LSB_FIRST if preferable */ + conn->info.protocol_byte_order = LIBAXL_MSB_FIRST; /* XXX Use LIBAXL_LSB_FIRST if preferable */ RUNLOCK_CONNECTION_SEND(conn); if (pending) { liberror_save_backtrace(NULL); @@ -68,7 +68,7 @@ libaxl_send_handshake(LIBAXL_CONTEXT *restrict ctx, const char *auth_name, size_ ctx->out_buf_size = len; } - buf[o++] = 'B'; /* TODO Use 'l' (LSB first) if preferable */ + buf[o++] = 'B'; /* XXX Use 'l' (LSB first) if preferable */ buf[o++] = 0; *(uint16_t *)&buf[o] = htons(LIBAXL_PROTOCOL_VERSION_MAJOR); o += 2; |