Advertisement
Guest User

Untitled

a guest
Nov 8th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. --- mate-control-center-1.20.3/capplets/about-me/mate-about-me-password.c.1 2018-11-07 09:14:55.533893979 +0000
  2. +++ mate-control-center-1.20.3/capplets/about-me/mate-about-me-password.c 2018-11-07 09:17:36.697540566 +0000
  3. @@ -498,7 +498,7 @@
  4. switch (pdialog->backend_state) {
  5. case PASSWD_STATE_AUTH:
  6. /* Passwd is asking for our current password */
  7. -
  8. + g_warning("passwd_state = PASSWD_STATE_AUTH, str is %s", str->str);
  9. if (is_string_complete (str->str, "assword: ", "failure", "wrong", "error", NULL)) {
  10. /* Which response did we get? */
  11. passdlg_set_busy (pdialog, FALSE);
  12. @@ -533,6 +533,7 @@
  13. case PASSWD_STATE_NEW:
  14. /* Passwd is asking for our new password */
  15.  
  16. + g_warning("passwd_state = PASSWD_STATE_NEW, str is %s", str->str);
  17. if (is_string_complete (str->str, "assword: ", NULL)) {
  18. /* Advance to next state */
  19. pdialog->backend_state = PASSWD_STATE_RETYPE;
  20. @@ -546,6 +547,7 @@
  21. case PASSWD_STATE_RETYPE:
  22. /* Passwd is asking for our retyped new password */
  23.  
  24. + g_warning("passwd_state = PASSWD_STATE_RETYPE, str is %s", str->str);
  25. if (is_string_complete (str->str, "successfully",
  26. "short",
  27. "longer",
  28. @@ -628,6 +630,8 @@
  29. }
  30. break;
  31. case PASSWD_STATE_NONE:
  32. +
  33. + g_warning("passwd_state = PASSWD_STATE_NONE");
  34. /* Passwd is not asking for anything yet */
  35. if (is_string_complete (str->str, "assword: ", NULL)) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement