kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 51e9c64fc016d229b7b913c3c9b0cbab936aea00
parent cdb45118e2da0b82aede6b61a4fe84fb10c99619
Author: Joris Vink <joris@coders.se>
Date:   Wed,  9 Sep 2020 22:30:56 +0200

strdup the application name.

Diffstat:
src/cli.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cli.c b/src/cli.c @@ -611,7 +611,7 @@ cli_build(int argc, char **argv) if (getcwd(pwd, sizeof(pwd)) == NULL) fatal("could not get cwd: %s", errno_s); - appl = basename(pwd); + appl = cli_strdup(basename(pwd)); if ((p = getenv("CC")) != NULL) { compiler_c = p;