1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

(dns-write): Use set-buffer-multibyte.

This commit is contained in:
Magnus Henoch 2008-03-28 21:37:03 +00:00
parent 82eb83ffdb
commit 51fac78c03
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-03-28 Magnus Henoch <mange@freemail.hu>
* net/dns.el (dns-write): Use set-buffer-multibyte.
2008-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
* vc-bzr.el (vc-bzr-sha1): New fun.

View File

@ -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