diff options
| author | Alexander Bokovoy <ab@samba.org> | 2003-07-15 12:12:15 +0000 |
|---|---|---|
| committer | Alexander Bokovoy <ab@samba.org> | 2003-07-15 12:12:15 +0000 |
| commit | 036071095617a6e3957e4153db37c0765567bd3f (patch) | |
| tree | 6a5f6a8c2ddc7195792383b262b94a6700124bf0 | |
| parent | 5c327041d619ca1bf3fcf917427eff24920e4721 (diff) | |
| download | samba-036071095617a6e3957e4153db37c0765567bd3f.tar.gz samba-036071095617a6e3957e4153db37c0765567bd3f.tar.bz2 samba-036071095617a6e3957e4153db37c0765567bd3f.zip | |
Fix cut&paste bug in strdup() usage example. Found by Metze
(This used to be commit 38f85593c41b5d9ea1c67beb626724b9e14a5dab)
| -rw-r--r-- | docs/docbook/devdoc/vfs.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/docbook/devdoc/vfs.xml b/docs/docbook/devdoc/vfs.xml index 966db9583a..ed2afef53e 100644 --- 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; |
