git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97bc047
)
Another attempt at undoing my bogus patch 1.55.2.19
author
Tim Potter
<tpot@samba.org>
Thu, 8 May 2003 05:10:44 +0000
(
05:10
+0000)
committer
Tim Potter
<tpot@samba.org>
Thu, 8 May 2003 05:10:44 +0000
(
05:10
+0000)
source/lib/charcnv.c
patch
|
blob
|
history
diff --git
a/source/lib/charcnv.c
b/source/lib/charcnv.c
index 102b77592bc6e6b5c2990813bb13fb86bbeb4371..febd7d54962ab65f4785dbf2a9eaa8c00cd63a4e 100644
(file)
--- a/
source/lib/charcnv.c
+++ b/
source/lib/charcnv.c
@@
-420,6
+420,8
@@
size_t pull_ascii(char *dest, const void *src, size_t dest_len, size_t src_len,
if (dest_len)
dest[MIN(ret, dest_len-1)] = 0;
+ else
+ dest[0] = 0;
return src_len;
}