Skip to content
This repository has been archived by the owner on Oct 13, 2019. It is now read-only.

Commit

Permalink
Simplify socket debug
Browse files Browse the repository at this point in the history
  • Loading branch information
CTurt committed Aug 23, 2015
1 parent 0824a7a commit 9e2cd4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/sockets/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

#define debug(sock, format, ...)\
do {\
char fbuffer[512] = format, buffer[512];\
int size = sprintf(buffer, fbuffer, ##__VA_ARGS__);\
buffer[512];\
int size = sprintf(buffer, format, ##__VA_ARGS__);\
sceNetSend(sock, buffer, size, 0);\
} while(0)

Expand Down

0 comments on commit 9e2cd4c

Please sign in to comment.