aboutsummaryrefslogtreecommitdiff
path: root/src/cljs/gnunet_web/transport.cljs
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2020-01-19 18:44:45 -0600
committerDavid Barksdale <amatus@amat.us>2020-01-19 18:44:45 -0600
commit421d0471e8b1a9bb21d6cd25892a3c2b3b8af5bc (patch)
tree2a04d8d15dafcbcc5b224b56c3e2a55679276758 /src/cljs/gnunet_web/transport.cljs
parenta08675381220cadf62cede4017177f921e4e215b (diff)
Update emscripten to 1.39.6
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)))