aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Henoch2008-03-28 21:37:03 +0000
committerMagnus Henoch2008-03-28 21:37:03 +0000
commit51fac78c03ce33c455e6d5cd77c7950364b88dc0 (patch)
tree625e53ef5b3c29996db840a260b402fd1d00d76f
parent82eb83ffdb1fed8d67a59c7061f34cce72ae42f0 (diff)
downloademacs-51fac78c03ce33c455e6d5cd77c7950364b88dc0.tar.gz
emacs-51fac78c03ce33c455e6d5cd77c7950364b88dc0.zip
(dns-write): Use set-buffer-multibyte.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/net/dns.el1
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ff7f79ca0e5..16c8cb6bc57 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-03-28 Magnus Henoch <mange@freemail.hu>
2
3 * net/dns.el (dns-write): Use set-buffer-multibyte.
4
12008-03-28 Stefan Monnier <monnier@iro.umontreal.ca> 52008-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * vc-bzr.el (vc-bzr-sha1): New fun. 7 * vc-bzr.el (vc-bzr-sha1): New fun.
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.")
137 "Write a DNS packet according to SPEC. 137 "Write a DNS packet according to SPEC.
138If TCP-P, the first two bytes of the package with be the length field." 138If TCP-P, the first two bytes of the package with be the length field."
139 (with-temp-buffer 139 (with-temp-buffer
140 (set-buffer-multibyte nil)
140 (dns-write-bytes (dns-get 'id spec) 2) 141 (dns-write-bytes (dns-get 'id spec) 2)
141 (dns-write-bytes 142 (dns-write-bytes
142 (logior 143 (logior