removed dbg mesages

This commit is contained in:
stefan schippers 2025-01-15 19:12:30 +01:00
parent f2b9d0c6f3
commit f79f9ecf1d
1 changed files with 2 additions and 2 deletions

View File

@ -4105,12 +4105,12 @@ const char *translate(int inst, const char* s)
++path; ++path;
} }
dev = my_malloc(_ALLOC_ID_, tmp); dev = my_malloc(_ALLOC_ID_, tmp);
dbg(0, "%s\n", token); dbg(1, "%s\n", token);
if(!strncmp(token, "@spice_get_current(", 19)) { if(!strncmp(token, "@spice_get_current(", 19)) {
n = sscanf(token + 19, "%[^)]", dev); n = sscanf(token + 19, "%[^)]", dev);
} else { } else {
n = sscanf(token, "@spice_get_current%d(%[^)]", &ncurrent, dev); n = sscanf(token, "@spice_get_current%d(%[^)]", &ncurrent, dev);
dbg(0, "ncurrent=%d, dev=%s\n", ncurrent, dev); dbg(1, "ncurrent=%d, dev=%s\n", ncurrent, dev);
} }
if(n >= 1) { if(n >= 1) {
strtolower(dev); strtolower(dev);