diff lisp/net/dns.el @ 93364:ed215625a8cb

(dns-write): Use set-buffer-multibyte.
author Magnus Henoch <mange@freemail.hu>
date Fri, 28 Mar 2008 21:36:48 +0000
parents f231a5d1706d
children 91e5880a36c1
line wrap: on
line diff
--- a/lisp/net/dns.el	Fri Mar 28 19:51:21 2008 +0000
+++ b/lisp/net/dns.el	Fri Mar 28 21:36:48 2008 +0000
@@ -137,6 +137,7 @@
   "Write a DNS packet according to SPEC.
 If TCP-P, the first two bytes of the package with be the length field."
   (with-temp-buffer
+    (set-buffer-multibyte nil)
     (dns-write-bytes (dns-get 'id spec) 2)
     (dns-write-bytes
      (logior