Changeset 480 for trunk/server/source3/libnet
- Timestamp:
- Aug 2, 2010, 8:16:45 PM (15 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 453,478
- Property svn:mergeinfo changed
-
trunk/server/source3/libnet/libnet_samsync_ldif.c
r414 r480 58 58 const char *mod_template; 59 59 char *add_name; 60 char *mod _name;60 char *module_name; 61 61 FILE *add_file; 62 62 FILE *mod_file; … … 942 942 943 943 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) { 946 946 status = NT_STATUS_NO_MEMORY; 947 947 goto done; … … 954 954 goto done; 955 955 } 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)); 958 958 status = NT_STATUS_UNSUCCESSFUL; 959 959 goto done; … … 1028 1028 } 1029 1029 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))) { 1032 1032 DEBUG(1,("unlink(%s) failed, error was (%s)\n", 1033 r->mod _name, strerror(errno)));1033 r->module_name, strerror(errno))); 1034 1034 } 1035 1035
Note:
See TracChangeset
for help on using the changeset viewer.