mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-03 11:50:02 +00:00
Fix r_run_profile multiline parser
This commit is contained in:
parent
dda441f9c3
commit
19d480fdc0
@ -51,11 +51,11 @@ R_API void r_run_reset(RRunProfile *p) {
|
||||
R_API int r_run_parse(RRunProfile *pf, const char *profile) {
|
||||
char *p, *o, *str = strdup (profile);
|
||||
for (o = p = str; (o = strchr (p, '\n')); p = o) {
|
||||
*o = 0;
|
||||
*o++ = 0;
|
||||
r_run_parseline (pf, p);
|
||||
}
|
||||
free (str);
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
R_API void r_run_free (RRunProfile *r) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user