summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGDR! <gdr@gdr.name>2014-12-22 00:52:27 +0000
committerGDR! <gdr@gdr.name>2014-12-22 00:52:27 +0000
commit1fb0fae11b2d129dd380b6413e5e81d461c8806d (patch)
treeb13dfaaed7a132c74d8c70b5f7c5222508697ad0 /main.c
parent4f28d0b194fdd9607955f2e32de44f8fbf5d7d31 (diff)
Trying to make the calling convention problem go away
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
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)
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 {