qmicli,dms: fix reading new PIN in '--dms-uim-change-pin'

Spotted by Rajiv Mohan <rajiv.mohan@wipro.com>
This commit is contained in:
Aleksander Morgado 2013-05-31 14:28:28 +02:00
parent 9cc1c7e779
commit e49341b531
1 changed files with 1 additions and 1 deletions

View File

@ -927,7 +927,7 @@ uim_change_pin_input_create (const gchar *str)
split = g_strsplit (str, ",", -1);
if (qmicli_read_pin_id_from_string (split[0], &pin_id) &&
qmicli_read_non_empty_string (split[1], "old PIN", &old_pin) &&
qmicli_read_non_empty_string (split[1], "new PIN", &new_pin)) {
qmicli_read_non_empty_string (split[2], "new PIN", &new_pin)) {
GError *error = NULL;
input = qmi_message_dms_uim_change_pin_input_new ();