actors: Fix serialize-message to not use address->string
authorChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 22 Apr 2016 15:46:58 +0000 (10:46 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 25 Apr 2016 14:25:37 +0000 (09:25 -0500)
If we use address->string, read/write are no longer symmetric.

* 8sync/systems/actors.scm (serialize-message): Switch address
  serialization to not use address->string.

8sync/systems/actors.scm

index 8477a2899e41bc93b04180fcd78d7b01072dc7e4..8bff1d4365795b11c4980178cb342ef5f6a3b1a2 100644 (file)
@@ -581,8 +581,8 @@ an integer."
   "Serialize a message for read/write"
   (list
    (message-id message)
-   (address->string (message-to message))
-   (address->string (message-from message))
+   (message-to message)
+   (message-from message)
    (message-action message)
    (message-body message)
    (message-in-reply-to message)