diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -494,11 +494,13 @@ int parse_lossless_packet(void *sender_uc, const uint8_t *data, uint32_t len) | |||
494 | return -1; | 494 | return -1; |
495 | } | 495 | } |
496 | 496 | ||
497 | /* | ||
497 | if(!data) | 498 | if(!data) |
498 | { | 499 | { |
499 | fprintf(stderr, "Got NULL pointer from toxcore - WTF?\n"); | 500 | fprintf(stderr, "Got NULL pointer from toxcore - WTF?\n"); |
500 | return -1; | 501 | return -1; |
501 | } | 502 | } |
503 | */ | ||
502 | 504 | ||
503 | if(data[0] != PROTOCOL_MAGIC_HIGH || data[1] != PROTOCOL_MAGIC_LOW) | 505 | if(data[0] != PROTOCOL_MAGIC_HIGH || data[1] != PROTOCOL_MAGIC_LOW) |
504 | { | 506 | { |