From 1fb0fae11b2d129dd380b6413e5e81d461c8806d Mon Sep 17 00:00:00 2001 From: GDR! Date: Mon, 22 Dec 2014 00:52:27 +0000 Subject: Trying to make the calling convention problem go away --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 2694ce4..7c9df58 100644 --- a/main.c +++ b/main.c @@ -494,11 +494,13 @@ int parse_lossless_packet(void *sender_uc, const uint8_t *data, uint32_t len) return -1; } + /* if(!data) { fprintf(stderr, "Got NULL pointer from toxcore - WTF?\n"); return -1; } + */ if(data[0] != PROTOCOL_MAGIC_HIGH || data[1] != PROTOCOL_MAGIC_LOW) { -- cgit v1.2.3