fix )profile@123

This commit is contained in:
dzaima 2022-06-03 14:47:43 +03:00
parent f9a8eb0ce3
commit 47e4e68eee

View File

@ -81,7 +81,7 @@ void cbqn_runLine0(char* ln, i64 read) {
profile = '@'==*(cpos-1)? readInt(&cpos) : 5000;
if (profile==0) { printf("Cannot profile with 0hz sampling frequency\n"); return; }
if (profile>999999) { printf("Cannot profile with >999999hz frequency\n"); return; }
code = fromUTF8l(cmdE);
code = fromUTF8l(cpos);
output = 0;
} else if (isCmd(cmdS, &cmdE, "t:") || isCmd(cmdS, &cmdE, "time:")) {
char* repE = cmdE;