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.
This commit is contained in:
Pavel Roskin 2016-01-31 23:42:16 -08:00
parent f1ba2b2c9d
commit 5de1d31a75
1 changed files with 5 additions and 2 deletions

View File

@ -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))