changeset 93364:ed215625a8cb

(dns-write): Use set-buffer-multibyte.
author Magnus Henoch <mange@freemail.hu>
date Fri, 28 Mar 2008 21:36:48 +0000
parents 9e7b1b11aa5c
children 3a47285f0293
files lisp/net/dns.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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