update variable name

This commit is contained in:
yggverse 2024-10-25 16:19:11 +03:00
parent 64eb173319
commit c9c8b39513
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ use glib::{Uri, UriFlags};
match Uri::parse("gemini://geminiprotocol.net/", UriFlags::NONE) {
// Begin async request
Ok(uri) => ggemini::client::simple_socket_request_async(uri, |response| match response {
Ok(uri) => ggemini::client::simple_socket_request_async(uri, |result| match result {
// Process response
Ok(response) => {
// Expect success status