summaryrefslogtreecommitdiff
path: root/lisp/net/dns.el
diff options
context:
space:
mode:
authorMagnus Henoch <mange@freemail.hu>2008-03-28 21:37:03 +0000
committerMagnus Henoch <mange@freemail.hu>2008-03-28 21:37:03 +0000
commit51fac78c03ce33c455e6d5cd77c7950364b88dc0 (patch)
tree625e53ef5b3c29996db840a260b402fd1d00d76f /lisp/net/dns.el
parent82eb83ffdb1fed8d67a59c7061f34cce72ae42f0 (diff)
downloademacs-51fac78c03ce33c455e6d5cd77c7950364b88dc0.tar.gz
(dns-write): Use set-buffer-multibyte.
Diffstat (limited to 'lisp/net/dns.el')
-rw-r--r--lisp/net/dns.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/net/dns.el b/lisp/net/dns.el
index 9e32d1fc353..cb859f9f5ca 100644
--- a/lisp/net/dns.el
+++ b/lisp/net/dns.el
@@ -137,6 +137,7 @@ If nil, /etc/resolv.conf will be consulted.")
"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