projects
/
JavaTCPFork
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c83a132
)
Fixed error in sizeof for unsigned char.
author
gumartinm
<gu.martinm@gmail.com>
Sun, 23 Dec 2012 18:48:37 +0000
(19:48 +0100)
committer
gumartinm
<gu.martinm@gmail.com>
Sun, 23 Dec 2012 18:48:37 +0000
(19:48 +0100)
Daemon/javafork.c
patch
|
blob
|
history
diff --git
a/Daemon/javafork.c
b/Daemon/javafork.c
index
86a1062
..
7b0602d
100644
(file)
--- a/
Daemon/javafork.c
+++ b/
Daemon/javafork.c
@@
-287,7
+287,7
@@
void *serverThread (void * arg)
/*respectively*/
uint32_t commandLength = 0; /*Store the command length*/
unsigned char *command = NULL; /*The command sent by the client as bytes, to be executed by this process*/
- unsigned char buffer[sizeof(u
int32_t
)]; /*This buffer is intended to store the data received from the client*/
+ unsigned char buffer[sizeof(u
nsigned char
)]; /*This buffer is intended to store the data received from the client*/
socket = (int) arg;