No memory leaks anymore
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
#ifndef TRANSFER_DEFINES_H
|
||||
#define TRANSFER_DEFINES_H
|
||||
|
||||
#define MESSAGE_LENGTH 20
|
||||
#define MESSAGE_LENGTH 1500
|
||||
#define TYPE_LENGTH 3
|
||||
#define PAYLOAD_LENGTH MESSAGE_LENGTH - TYPE_LENGTH
|
||||
|
||||
#define tolower_str(word) for(size_t i = 0; i < strlen(word); i++) word[i] = tolower(word[i]);
|
||||
|
||||
typedef enum
|
||||
{
|
||||
MAP,
|
||||
|
||||
Reference in New Issue
Block a user