Changeset 274 for branches/samba-3.3.x/source/utils/net_rap.c
- Timestamp:
- Jun 17, 2009, 2:19:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/utils/net_rap.c
r206 r274 823 823 userinfo.userflags = c->opt_flags; 824 824 userinfo.reserved1 = '\0'; 825 userinfo.comment = smb_xstrdup(c->opt_comment);825 userinfo.comment = smb_xstrdup(c->opt_comment ? c->opt_comment : ""); 826 826 userinfo.priv = 1; 827 827 userinfo.home_dir = NULL; … … 963 963 safe_strcpy(grinfo.group_name, argv[0], sizeof(grinfo.group_name)-1); 964 964 grinfo.reserved1 = '\0'; 965 grinfo.comment = smb_xstrdup(c->opt_comment );965 grinfo.comment = smb_xstrdup(c->opt_comment ? c->opt_comment : ""); 966 966 967 967 ret = cli_NetGroupAdd(cli, &grinfo);
Note:
See TracChangeset
for help on using the changeset viewer.