From 130fc6d97bce96bc042bdaa6329b82d00f6316d5 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Mon, 17 May 2021 21:23:49 +0200 Subject: renamed to STLDoctor --- service/src/stlfile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'service/src/stlfile.c') diff --git a/service/src/stlfile.c b/service/src/stlfile.c index 60f8b40..024f6cb 100644 --- a/service/src/stlfile.c +++ b/service/src/stlfile.c @@ -251,7 +251,7 @@ int parse_file(struct parseinfo *info, char *buf, size_t len) { int status; - const char *tmp; + const char *resp; char *bp; if (info->valid) free_info(info); @@ -270,12 +270,12 @@ parse_file(struct parseinfo *info, char *buf, size_t len) if (status == FAIL) return FAIL; if (!info->modelname) { - tmp = ask("Please enter your model name:\n"); - if (strlen(tmp) < 4) { + resp = ask("Please enter your model name:\n"); + if (strlen(resp) < 4) { fprintf(stderr, "Model name is too short!\n"); return FAIL; } - info->modelname = checkp(strdup(tmp)); + info->modelname = checkp(strdup(resp)); } info->hash = checkp(strdup(mhash(info->modelname, -1))); -- cgit v1.2.3-71-gd317