summaryrefslogtreecommitdiffstats
path: root/sesman/libscp
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-01-31 23:42:16 -0800
committerPavel Roskin <plroskin@gmail.com>2016-01-31 23:42:16 -0800
commit5de1d31a75ffc84ad78c24f167184cbd62a306bb (patch)
tree0911e95d391f0052ea80e4dc11a415e6249463ab /sesman/libscp
parentf1ba2b2c9d794afd574e985fab78cefad68d8ec0 (diff)
downloadxrdp-proprietary-5de1d31a75ffc84ad78c24f167184cbd62a306bb.tar.gz
xrdp-proprietary-5de1d31a75ffc84ad78c24f167184cbd62a306bb.zip
Change an unconditional #warning to a comment
Notes about software design should not be shown as warnings to everybody who compiles the code. Warnings should be about unexpected conditions detected at the compile time.
Diffstat (limited to 'sesman/libscp')
-rw-r--r--sesman/libscp/libscp_v1s.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sesman/libscp/libscp_v1s.c b/sesman/libscp/libscp_v1s.c
index 69997ab2..fb137433 100644
--- a/sesman/libscp/libscp_v1s.c
+++ b/sesman/libscp/libscp_v1s.c
@@ -435,8 +435,11 @@ scp_v1s_list_sessions(struct SCP_CONNECTION *c, int sescnt, struct SCP_DISCONNEC
}
/* then we wait for client ack */
-#warning maybe this message could say if the session should be resized on
-#warning server side or client side
+
+ /*
+ * Maybe this message could say if the session should be resized on
+ * server side or client side.
+ */
init_stream(c->in_s, c->in_s->size);
if (0 != scp_tcp_force_recv(c->in_sck, c->in_s->data, 8))