summaryrefslogtreecommitdiff
path: root/docs/docbook/devdoc
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-07-14 15:03:19 +0000
committerAlexander Bokovoy <ab@samba.org>2003-07-14 15:03:19 +0000
commit4b28f274b604511b482f19fa134a0bf8f9eaab43 (patch)
tree16ca4470c537c064a45881faa269d1f0092dc837 /docs/docbook/devdoc
parent0b0fa60900c381aecec55b609f75c5c832f6bac5 (diff)
downloadsamba-4b28f274b604511b482f19fa134a0bf8f9eaab43.tar.gz
samba-4b28f274b604511b482f19fa134a0bf8f9eaab43.tar.bz2
samba-4b28f274b604511b482f19fa134a0bf8f9eaab43.zip
Small documentation fixes from Metze
(This used to be commit 3f63bcb47182f69a7524bf9fcd0198aa116a9c45)
Diffstat (limited to 'docs/docbook/devdoc')
-rw-r--r--docs/docbook/devdoc/vfs.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/docbook/devdoc/vfs.xml b/docs/docbook/devdoc/vfs.xml
index 04bebaba95..966db9583a 100644
--- a/docs/docbook/devdoc/vfs.xml
+++ b/docs/docbook/devdoc/vfs.xml
@@ -652,7 +652,7 @@ static void free_example_privates(void **datap)
SAFE_FREE(data-&gt;some_string);
SAFE_FREE(data);
- datap = NULL;
+ *datap = NULL;
return;
}
@@ -683,7 +683,7 @@ static int example_connect(vfs_handle_struct *handle,
* we need to specify a free_function because we used malloc() and strdup().
* (return -1 if something failed.)
*/
- SMB_VFS_HANDLE_SET_DATA(handle, data, NULL, struct example_privates, return -1);
+ SMB_VFS_HANDLE_SET_DATA(handle, data, free_example_privates, struct example_privates, return -1);
return SMB_VFS_NEXT_CONNECT(handle,conn,service,user);
}