aboutsummaryrefslogtreecommitdiff
path: root/src/cljs/gnunet_web/transport.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cljs/gnunet_web/transport.cljs')
-rw-r--r--src/cljs/gnunet_web/transport.cljs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cljs/gnunet_web/transport.cljs b/src/cljs/gnunet_web/transport.cljs
index 59332d8..5a1ee11 100644
--- a/src/cljs/gnunet_web/transport.cljs
+++ b/src/cljs/gnunet_web/transport.cljs
@@ -89,11 +89,11 @@
{:state state
:peer peer
:address (when-not (zero? transport-pointer)
- (let [transport (js/Pointer_stringify transport-pointer)]
+ (let [transport (js/UTF8ToString transport-pointer)]
(when (and (= "http_client" transport)
(<= 9 address-length))
- (js/Pointer_stringify (+ 8 address-pointer)
- (- address-length 9)))))})))
+ (js/UTF8ToString (+ 8 address-pointer)
+ (- address-length 9)))))})))
(def monitor-callback-pointer (+++ (js/addFunction monitor-callback)))