From 1478f46cd06a60290d051329160559f03a4427f9 Mon Sep 17 00:00:00 2001 From: pancake Date: Thu, 11 Apr 2024 16:43:59 +0200 Subject: [PATCH] swift: Minor log fix --- swift/main.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swift/main.swift b/swift/main.swift index dc7ab7f..60f44a6 100644 --- a/swift/main.swift +++ b/swift/main.swift @@ -63,7 +63,7 @@ private func testCcall() { print("Testing r2pipe Ccall method") if let r2p = R2Pipe("#!ccall") { if let str = r2p.cmdSync("?V") { - log("http-sync", str) + log("ccall-sync", str) } else { print("ERROR: Ccall Sync Call failed") } @@ -71,9 +71,9 @@ private func testCcall() { r2p.cmd("pi 5 @ entry0", closure: { (str: String?) in if let s = str { - log("http-async", s) + log("ccall-async", s) } else { - log("error", "network") + log("error", "ccall") } exit(0) })