kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit e906aab4456ad6861ac2727d1772858308943538
parent 55b344f1c3826a9303927cc0d3d7e5dde59c0c65
Author: Joris Vink <joris@coders.se>
Date:   Sun,  3 Aug 2014 17:50:04 +0200

Be careful that f isn't uninitialized

Diffstat:
src/cli.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/cli.c b/src/cli.c @@ -848,6 +848,8 @@ cli_link_library(void *arg) if ((p = getenv("KORE_LDFLAGS")) != NULL) f = kore_split_string(p, " ", flags, LD_FLAGS_MAX); + else + f = 0; (void)cli_vasprintf(&libname, "%s/%s.so", rootdir, appl);