Ignore:
Timestamp:
Jun 17, 2009, 2:19:52 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.3 branch to 3.3.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/utils/net_rap.c

    r206 r274  
    823823        userinfo.userflags = c->opt_flags;
    824824        userinfo.reserved1 = '\0';
    825         userinfo.comment = smb_xstrdup(c->opt_comment);
     825        userinfo.comment = smb_xstrdup(c->opt_comment ? c->opt_comment : "");
    826826        userinfo.priv = 1;
    827827        userinfo.home_dir = NULL;
     
    963963        safe_strcpy(grinfo.group_name, argv[0], sizeof(grinfo.group_name)-1);
    964964        grinfo.reserved1 = '\0';
    965         grinfo.comment = smb_xstrdup(c->opt_comment);
     965        grinfo.comment = smb_xstrdup(c->opt_comment ? c->opt_comment : "");
    966966
    967967        ret = cli_NetGroupAdd(cli, &grinfo);
Note: See TracChangeset for help on using the changeset viewer.