do_prompt expects automsg to be set, but we use NULL in various places.
Select parameter to modify (1-13): 13
Automatically selected : bpipe:/@bpipe@/encrypt-bug.jpg:cat 1:cat >/tmp/1
Plugin Restore Options
restore_command: *None*
Use above plugin configuration? (yes/mod/no): mod
Automatically selected <NULL>: restore_command (Restore command to use)
^^^^^^
if (prompt) {
bstrncpy(prompt, ua->prompt[1], max_prompt);
}
- ua->send_msg(_("Automatically selected %s: %s\n"), automsg, ua->prompt[1]);
+ ua->send_msg(_("Automatically selected %s: %s\n"), NPRTB(automsg), ua->prompt[1]);
goto done;
}
/* If running non-interactive, bail out */