aboutsummaryrefslogtreecommitdiffstats
path: root/service/src/stlfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'service/src/stlfile.c')
-rw-r--r--service/src/stlfile.c8
1 files changed, 4 insertions, 4 deletions
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)));