git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make ds_put_char_multiple() use the provided character instead of a space.
[sliver-openvswitch.git]
/
lib
/
dynamic-string.c
diff --git
a/lib/dynamic-string.c
b/lib/dynamic-string.c
index
f67a63f
..
2fe8cfb
100644
(file)
--- a/
lib/dynamic-string.c
+++ b/
lib/dynamic-string.c
@@
-91,7
+91,7
@@
ds_put_char(struct ds *ds, char c)
void
ds_put_char_multiple(struct ds *ds, char c, size_t n)
{
- memset(ds_put_uninit(ds, n),
' '
, n);
+ memset(ds_put_uninit(ds, n),
c
, n);
}
void