Rev 5317: tallocify internal routine import_process_service in
http://samba.sernet.de/ma/bzr/SAMBA_3_0-registry.bzr/
Michael Adam
ma at sernet.de
Mon Apr 2 08:31:47 GMT 2007
At http://samba.sernet.de/ma/bzr/SAMBA_3_0-registry.bzr/
------------------------------------------------------------
revno: 5317
revision-id: ma at sernet.de-20070402083145-d095b407428365f6
parent: ma at sernet.de-20070401214140-01fc7f4fc59cb459
committer: Michael Adam <ma at sernet.de>
branch nick: SAMBA_3_0-registry.bzr
timestamp: Mon 2007-04-02 10:31:45 +0200
message:
tallocify internal routine import_process_service
modified:
source/utils/net_conf.c net_conf.c-20070228210606-uywdn1acd043wgvt-1
=== modified file 'source/utils/net_conf.c'
--- a/source/utils/net_conf.c 2007-03-31 23:24:31 +0000
+++ b/source/utils/net_conf.c 2007-04-02 08:31:45 +0000
@@ -284,7 +284,9 @@
return werr;
}
-static int import_process_service(struct share_params *share, BOOL testmode)
+static int import_process_service(TALLOC_CTX *ctx,
+ struct share_params *share,
+ BOOL testmode)
{
int ret = -1;
struct parm_struct *parm;
@@ -507,7 +509,7 @@
if ((servicename == NULL) || strequal(servicename, GLOBAL_NAME)) {
service_found = True;
- if (import_process_service(&global_share, testmode) != 0) {
+ if (import_process_service(ctx, &global_share, testmode) != 0) {
goto done;
}
}
@@ -526,7 +528,7 @@
|| strequal(servicename, lp_servicename(share->service)))
{
service_found = True;
- if (import_process_service(share, testmode)!= 0) {
+ if (import_process_service(ctx, share, testmode)!= 0) {
goto done;
}
}
More information about the samba-cvs
mailing list