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:
parent
82eb83ffdb
commit
51fac78c03
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user