mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 09:05:45 +00:00
update variable name
This commit is contained in:
parent
64eb173319
commit
c9c8b39513
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ use glib::{Uri, UriFlags};
|
||||||
|
|
||||||
match Uri::parse("gemini://geminiprotocol.net/", UriFlags::NONE) {
|
match Uri::parse("gemini://geminiprotocol.net/", UriFlags::NONE) {
|
||||||
// Begin async request
|
// 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
|
// Process response
|
||||||
Ok(response) => {
|
Ok(response) => {
|
||||||
// Expect success status
|
// Expect success status
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ fn simple_socket_request_async() {
|
||||||
// Parse URI
|
// Parse URI
|
||||||
match Uri::parse("gemini://geminiprotocol.net/", UriFlags::NONE) {
|
match Uri::parse("gemini://geminiprotocol.net/", UriFlags::NONE) {
|
||||||
// Begin async request
|
// 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
|
// Process response
|
||||||
Ok(response) => {
|
Ok(response) => {
|
||||||
// Expect success status
|
// Expect success status
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue