Ignore:
Timestamp:
Aug 2, 2010, 8:16:45 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: trunk update to 3.5.4

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/libnet/libnet_samsync_ldif.c

    r414 r480  
    5858        const char *mod_template;
    5959        char *add_name;
    60         char *mod_name;
     60        char *module_name;
    6161        FILE *add_file;
    6262        FILE *mod_file;
     
    942942
    943943        r->add_name = talloc_strdup(mem_ctx, add_template);
    944         r->mod_name = talloc_strdup(mem_ctx, mod_template);
    945         if (!r->add_name || !r->mod_name) {
     944        r->module_name = talloc_strdup(mem_ctx, mod_template);
     945        if (!r->add_name || !r->module_name) {
    946946                status = NT_STATUS_NO_MEMORY;
    947947                goto done;
     
    954954                goto done;
    955955        }
    956         if (!(r->mod_file = fdopen(mkstemp(r->mod_name),"w"))) {
    957                 DEBUG(1, ("Could not open %s\n", r->mod_name));
     956        if (!(r->mod_file = fdopen(mkstemp(r->module_name),"w"))) {
     957                DEBUG(1, ("Could not open %s\n", r->module_name));
    958958                status = NT_STATUS_UNSUCCESSFUL;
    959959                goto done;
     
    10281028        }
    10291029
    1030         if ((r->mod_name != NULL) &&
    1031             strcmp(r->mod_name, r->mod_template) && (unlink(r->mod_name))) {
     1030        if ((r->module_name != NULL) &&
     1031            strcmp(r->module_name, r->mod_template) && (unlink(r->module_name))) {
    10321032                DEBUG(1,("unlink(%s) failed, error was (%s)\n",
    1033                          r->mod_name, strerror(errno)));
     1033                         r->module_name, strerror(errno)));
    10341034        }
    10351035
Note: See TracChangeset for help on using the changeset viewer.