| 162 | } |
| 163 | |
| 164 | void DeleteAuthCookie() |
| 165 | { |
| 166 | try { |
| 167 | if (g_generated_cookie) { |
| 168 | // Delete the cookie file if it was generated by this process |
| 169 | fs::remove(GetAuthCookieFile()); |
| 170 | } |
| 171 | } catch (const fs::filesystem_error& e) { |
| 172 | LogWarning("Unable to remove random auth cookie file %s: %s\n", fs::PathToString(e.path1()), e.code().message()); |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | std::vector<UniValue> JSONRPCProcessBatchReply(const UniValue& in) |
| 177 | { |
no test coverage detected