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:
deca12d
)
r19022: eliminate a warning
author
Derrell Lipman
<derrell@samba.org>
Mon, 2 Oct 2006 02:39:05 +0000
(
02:39
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:20:29 +0000
(14:20 -0500)
(This used to be commit
d48b2d83057b8e78e3ed31f56578e18ef9b9aed6
)
source4/lib/appweb/mpr/var.c
patch
|
blob
|
history
diff --git
a/source4/lib/appweb/mpr/var.c
b/source4/lib/appweb/mpr/var.c
index 11ac7120651cd649081feb3724f99f1eb649e4c2..e73da773eab0eedb46a7e6394a83d65a8209e18d 100644
(file)
--- a/
source4/lib/appweb/mpr/var.c
+++ b/
source4/lib/appweb/mpr/var.c
@@
-1363,7
+1363,7
@@
MprVar mprCreateStringVar(const char *value, bool allocate)
memset(&v, 0x0, sizeof(v));
v.type = MPR_TYPE_STRING;
if (value == 0) {
- v.string = "";
+ v.string =
(char*)
"";
} else if (allocate) {
v.string = mprStrdup(value);
v.allocatedData = 1;