At http://samba.sernet.de/ma/bzr/SAMBA_3_0-registry.bzr/

------------------------------------------------------------
revno: 5317
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Michael Adam <[EMAIL PROTECTED]>
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;
                        }
                }

Reply via email to