projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
423b151
)
GW RPC-HTTP login fix
author
Daniel Bungert
<bungert@hp.com>
Fri, 10 Apr 2015 20:50:17 +0000
(14:50 -0600)
committer
Daniel Bungert
<bungert@hp.com>
Fri, 10 Apr 2015 20:50:17 +0000
(14:50 -0600)
*
f469e069dc8287f6fcfe0741961022e0cc50170f
introduced a logic flip
that broke RPC-HTTP Gateway. Fix that.
libfreerdp/core/gateway/rpc_client.c
patch
|
blob
|
history
diff --git
a/libfreerdp/core/gateway/rpc_client.c
b/libfreerdp/core/gateway/rpc_client.c
index
eaff47d
..
1d8e459
100644
(file)
--- a/
libfreerdp/core/gateway/rpc_client.c
+++ b/
libfreerdp/core/gateway/rpc_client.c
@@
-425,7
+425,7
@@
int rpc_client_recv_fragment(rdpRpc* rpc, wStream* fragment)
pdu->Flags = 0;
pdu->Type = header->common.ptype;
pdu->CallId = header->common.call_id;
- if (Stream_EnsureCapacity(pdu->s, Stream_Length(fragment)))
+ if (
!
Stream_EnsureCapacity(pdu->s, Stream_Length(fragment)))
return -1;
Stream_Write(pdu->s, buffer, Stream_Length(fragment));
Stream_SealLength(pdu->s);