Even if the 'device type' is always an ascii string, use push_string to get
commitcc02d8690c94620a4a026e70b70ae776c370f9f6
authorAndrew Bartlett <abartlet@samba.org>
Sun, 4 Jan 2004 11:05:30 +0000 (4 11:05 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 4 Jan 2004 11:05:30 +0000 (4 11:05 +0000)
tree49c1bb2495edf6a4357c0a289e7bc27e7fa12e99
parentd01733eb32802b2284fb34023edfcdb96ef310bd
Even if the 'device type' is always an ascii string, use push_string to get
it out onto the wire.  Avoids valgrind warnings because the fstrcpy() causes
part of the wire buffer to be 'marked'.

Andrew Bartlett
(This used to be commit 53d802c72aa712e099dc8de666ab66a21e18fae1)
source3/libsmb/cliconnect.c