pam: Always return translated string from helper

This means that the different functions in the header match as all
functions will return the translted string instead of only one of them.
This commit is contained in:
Benjamin Berg
2020-10-06 11:28:57 +02:00
committed by Benjamin Berg
parent 2fd86624e5
commit c42e627ddd
2 changed files with 11 additions and 11 deletions

View File

@ -201,7 +201,7 @@ verify_result (sd_bus_message *m,
return 0;
}
msg = _(verify_result_str_to_msg (result, data->is_swipe));
msg = verify_result_str_to_msg (result, data->is_swipe);
send_err_msg (data->pamh, msg);
return 0;