diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-01-31 23:42:16 -0800 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-01-31 23:42:16 -0800 |
commit | 5de1d31a75ffc84ad78c24f167184cbd62a306bb (patch) | |
tree | 0911e95d391f0052ea80e4dc11a415e6249463ab | |
parent | f1ba2b2c9d794afd574e985fab78cefad68d8ec0 (diff) | |
download | xrdp-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.
-rw-r--r-- | sesman/libscp/libscp_v1s.c | 7 |
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)) |