* Ask for user/password and reload the page. */
| 1052 | * Ask for user/password and reload the page. |
| 1053 | */ |
| 1054 | static void Cache_auth_callback(void *vdata) |
| 1055 | { |
| 1056 | CacheAuthData_t *data = (CacheAuthData_t *)vdata; |
| 1057 | if (a_Auth_do_auth(data->auth, data->url)) |
| 1058 | a_Nav_reload(data->bw); |
| 1059 | Cache_auth_free(data->auth); |
| 1060 | a_Url_free(data->url); |
| 1061 | dFree(data); |
| 1062 | Cache_auth_entry(NULL, NULL); |
| 1063 | a_Timeout_remove(); |
| 1064 | } |
| 1065 | |
| 1066 | /** |
| 1067 | * Set a timeout function to ask for user/password. |
nothing calls this directly
no test coverage detected