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.
ulab-next-nosound
Pavel Roskin 9 years ago
parent f1ba2b2c9d
commit 5de1d31a75

@ -435,8 +435,11 @@ scp_v1s_list_sessions(struct SCP_CONNECTION *c, int sescnt, struct SCP_DISCONNEC
} }
/* then we wait for client ack */ /* 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); init_stream(c->in_s, c->in_s->size);
if (0 != scp_tcp_force_recv(c->in_sck, c->in_s->data, 8)) if (0 != scp_tcp_force_recv(c->in_sck, c->in_s->data, 8))

Loading…
Cancel
Save