git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a35d8f7
)
r907: fixing browse.dat bug -- don't include the resouce byte from the netbios name...
author
Gerald Carter
<jerry@samba.org>
Wed, 26 May 2004 14:19:28 +0000
(14:19 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:51:48 +0000
(10:51 -0500)
(This used to be commit
c9bef86b8b422c5cbb6e3e5d2abb96c6e4560c1e
)
source3/lib/charcnv.c
patch
|
blob
|
history
diff --git
a/source3/lib/charcnv.c
b/source3/lib/charcnv.c
index b9791931a35d45b28cb508848f663248ec4d25eb..3d7678c34cb168decf8ef42e9adbd72513fcc76e 100644
(file)
--- a/
source3/lib/charcnv.c
+++ b/
source3/lib/charcnv.c
@@
-932,7
+932,7
@@
size_t pull_ascii_fstring(char *dest, const void *src)
size_t pull_ascii_nstring(char *dest, size_t dest_len, const void *src)
{
- return pull_ascii(dest, src, dest_len, sizeof(nstring), STR_TERMINATE);
+ return pull_ascii(dest, src, dest_len, sizeof(nstring)
-1
, STR_TERMINATE);
}
/**