git.samba.org
/
kamenim
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c32704
)
Fix cut&paste bug in strdup() usage example. Found by Metze
author
Alexander Bokovoy
<ab@samba.org>
Tue, 15 Jul 2003 12:12:15 +0000
(12:12 +0000)
committer
Alexander Bokovoy
<ab@samba.org>
Tue, 15 Jul 2003 12:12:15 +0000
(12:12 +0000)
(This used to be commit
38f85593c41b5d9ea1c67beb626724b9e14a5dab
)
docs/docbook/devdoc/vfs.xml
patch
|
blob
|
history
diff --git
a/docs/docbook/devdoc/vfs.xml
b/docs/docbook/devdoc/vfs.xml
index 966db9583ad020e91a82995c961b4c9e6acc1c41..ed2afef53e41d89419a2ac29055fa55ec1387b9b 100644
(file)
--- a/
docs/docbook/devdoc/vfs.xml
+++ b/
docs/docbook/devdoc/vfs.xml
@@
-671,7
+671,7
@@
static int example_connect(vfs_handle_struct *handle,
}
/* init out private data */
- data->some_string = strdup(
conn->mem_ctx,
"test");
+ data->some_string = strdup("test");
if (!data->some_string) {
DEBUG(0,("strdup() failed\n"));
return -1;