projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8766a8
)
[sdb] Fix the checking of the handshake message.
author
Zoltan Varga
<vargaz@gmail.com>
Fri, 29 Aug 2014 19:04:40 +0000
(15:04 -0400)
committer
Zoltan Varga
<vargaz@gmail.com>
Fri, 29 Aug 2014 19:04:40 +0000
(15:04 -0400)
mono/mini/debugger-agent.c
patch
|
blob
|
history
diff --git
a/mono/mini/debugger-agent.c
b/mono/mini/debugger-agent.c
index 6249ed00c66ba26ebb3dc652efcc9ced30b49b7d..5919430186944c79d1bc0037ae77e8d81457d584 100644
(file)
--- a/
mono/mini/debugger-agent.c
+++ b/
mono/mini/debugger-agent.c
@@
-1581,7
+1581,7
@@
transport_handshake (void)
/* Read answer */
res = transport_recv (buf, strlen (handshake_msg));
- if ((res != strlen (handshake_msg)) || (memcmp (buf, handshake_msg, strlen (handshake_msg)
!= 0)
)) {
+ if ((res != strlen (handshake_msg)) || (memcmp (buf, handshake_msg, strlen (handshake_msg)
) != 0
)) {
fprintf (stderr, "debugger-agent: DWP handshake failed.\n");
return FALSE;
}