svn commit: samba r13368 - in branches/SAMBA_3_0/source/utils: .
jra at samba.org
jra at samba.org
Mon Feb 6 18:03:58 GMT 2006
Author: jra
Date: 2006-02-06 18:03:57 +0000 (Mon, 06 Feb 2006)
New Revision: 13368
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13368
Log:
I must write out 1000 times, "Don't use C++ reserved words..."
Jeremy.
Modified:
branches/SAMBA_3_0/source/utils/net_usershare.c
Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_usershare.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_usershare.c 2006-02-06 18:03:55 UTC (rev 13367)
+++ branches/SAMBA_3_0/source/utils/net_usershare.c 2006-02-06 18:03:57 UTC (rev 13368)
@@ -268,13 +268,13 @@
Call a function for every share on the list.
***************************************************************************/
-static int process_share_list(int (*fn)(struct file_list *, void *), void *private)
+static int process_share_list(int (*fn)(struct file_list *, void *), void *priv)
{
struct file_list *fl;
int ret = 0;
for (fl = flist; fl; fl = fl->next) {
- ret = (*fn)(fl, private);
+ ret = (*fn)(fl, priv);
}
return ret;
@@ -284,11 +284,11 @@
Info function.
***************************************************************************/
-static int info_fn(struct file_list *fl, void *private)
+static int info_fn(struct file_list *fl, void *priv)
{
SMB_STRUCT_STAT sbuf;
char **lines = NULL;
- struct priv_info *pi = (struct priv_info *)private;
+ struct priv_info *pi = (struct priv_info *)priv;
TALLOC_CTX *ctx = pi->ctx;
int fd = -1;
int numlines = 0;
@@ -720,7 +720,7 @@
List function.
***************************************************************************/
-static int list_fn(struct file_list *fl, void *private)
+static int list_fn(struct file_list *fl, void *priv)
{
d_printf("%s\n", fl->pathname);
return 0;
More information about the samba-cvs
mailing list