libwebsockets - gcc warnings
authorPatrick McManus <mcmanus@ducksong.com>
Wed, 9 Mar 2011 07:18:28 +0000 (07:18 +0000)
committerAndy Green <andy.green@linaro.org>
Wed, 9 Mar 2011 07:18:28 +0000 (07:18 +0000)
commit4bf91d7224e93c6c1d5caca3a0cefb039e4ddcae
treec1f0bbdc17c60c8ab9a1e8ee60890b81a28985f3
parent6c9395529ee6f5c4cc4d4a5e47c211ec7ad61644
libwebsockets - gcc warnings

you have your makefiles set up to treat warnings as errors, and my gcc
4.4.5 (64 bit) compiler generates 3 warnings that need fixing:

(that sprintf() one is a real bug.. if ext_name contains formatting
characters you are looking at a potential segv).

Signed-off-by: Patrick McManus <mcmanus@ducksong.com>
lib/handshake.c
lib/libwebsockets.c