Convert a string-allocate reference to make-bytevector.
authorChris Hanson <org/chris-hanson/cph>
Tue, 21 Feb 2017 06:26:51 +0000 (22:26 -0800)
committerChris Hanson <org/chris-hanson/cph>
Tue, 21 Feb 2017 06:26:51 +0000 (22:26 -0800)
src/runtime/socket.scm

index 1ed0f5a0745bfa5756fb038dc23334155e515fde..afffca8e2a58318b0f8ad0f961c8724b01151b20 100644 (file)
@@ -201,7 +201,7 @@ USA.
   (canonical-host-name (get-host-name)))
 
 (define (allocate-host-address)
-  (string-allocate ((ucode-primitive host-address-length 0))))
+  (make-bytevector ((ucode-primitive host-address-length 0))))
 
 (define host-address-any
   (ucode-primitive host-address-any 0))