"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/server/child.c" between
burp-2.3.14.tar.bz2 and burp-2.3.20.tar.bz2

About: Burp is a backup and restore program using librsync and also VSS (for Windows clients). Latest version.

child.c  (burp-2.3.14.tar.bz2):child.c  (burp-2.3.20.tar.bz2)
skipping to change at line 197 skipping to change at line 197
cconfs_group=get_string(cconfs[OPT_GROUP]); cconfs_group=get_string(cconfs[OPT_GROUP]);
/* Now that the client conf is loaded, we might want to chuser or /* Now that the client conf is loaded, we might want to chuser or
chgrp. chgrp.
The main process could have already done this, so we don't want The main process could have already done this, so we don't want
to try doing it again if cconfs has the same values, because it to try doing it again if cconfs has the same values, because it
will fail. */ will fail. */
if( (!confs_user || (cconfs_user && strcmp(confs_user, cconfs_user))) if( (!confs_user || (cconfs_user && strcmp(confs_user, cconfs_user)))
||(!confs_group ||(cconfs_group && strcmp(confs_group,cconfs_group)))) ||(!confs_group ||(cconfs_group && strcmp(confs_group,cconfs_group))))
{ {
if(chuser_and_or_chgrp(cconfs_user, cconfs_group)) if(chuser_and_or_chgrp(cconfs_user, cconfs_group, 0))
{ {
log_and_send(as->asfd, log_and_send(as->asfd,
"chuser_and_or_chgrp failed on server"); "chuser_and_or_chgrp failed on server");
goto end; goto end;
} }
} }
if(as->asfd->read(as->asfd)) if(as->asfd->read(as->asfd))
goto end; goto end;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)