projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e6775c
)
Allow to generate docbook with 0 length.
author
Armin Novak
<armin.novak@thincast.com>
Mon, 25 Nov 2019 14:54:05 +0000
(15:54 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Mon, 25 Nov 2019 14:54:05 +0000
(15:54 +0100)
client/X11/generate_argument_docbook.c
patch
|
blob
|
history
diff --git
a/client/X11/generate_argument_docbook.c
b/client/X11/generate_argument_docbook.c
index
d3af641
..
49b1bb1
100644
(file)
--- a/
client/X11/generate_argument_docbook.c
+++ b/
client/X11/generate_argument_docbook.c
@@
-25,7
+25,7
@@
LPSTR tr_esc_str(LPCSTR arg, bool format)
/* Prepare a initial buffer with the size of the result string. */
ds = s + 1;
- if (s)
+ if (
d
s)
{
tmp2 = (LPSTR)realloc(tmp, ds * sizeof(CHAR));
if (!tmp2)