Skip to content

Commit

Permalink
Merge pull request #27 from paarthmadan/pm/remove-unused-constant
Browse files Browse the repository at this point in the history
Remove unused constant TRILOGY_MAX_PROTO_PACKET_LEN
  • Loading branch information
composerinteralia authored Oct 4, 2022
2 parents a80c404 + 57d9b47 commit 89f70f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion inc/trilogy/builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ typedef struct {
* buffer - A pre-initialized trilogy_buffer_t pointer
* seq - The initial sequence number for the packet to be built. This is
* the initial number because the builder API will automatically
* split buffers that are larger than TRILOGY_MAX_PROTO_PACKET_LEN into
* split buffers that are larger than TRILOGY_MAX_PACKET_LEN into
* multiple packets and increment the sequence number in each packet
* following the initial.
*
Expand Down
5 changes: 0 additions & 5 deletions inc/trilogy/protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,6 @@ typedef enum {
#undef XX
} TRILOGY_COLUMN_FLAG_t;

/*
* Data between client and server is exchanged in packets of max 16MByte size.
*/
#define TRILOGY_MAX_PROTO_PACKET_LEN 0xffffff

// Typical response packet types
typedef enum {
TRILOGY_PACKET_OK = 0x0,
Expand Down

0 comments on commit 89f70f0

Please sign in to comment.