Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
only call openlog once
[rsync/rsync.git]
/
loadparm.c
diff --git
a/loadparm.c
b/loadparm.c
index
d22bef8
..
a66f520
100644
(file)
--- a/
loadparm.c
+++ b/
loadparm.c
@@
-221,13
+221,12
@@
initialise a service to the defaults
***************************************************************************/
static void init_service(service *pservice)
{
***************************************************************************/
static void init_service(service *pservice)
{
- bzero((char *)pservice,sizeof(service));
- copy_service(pservice,&sDefault);
+
bzero((char *)pservice,sizeof(service));
+
copy_service(pservice,&sDefault);
}
static void string_set(char **s, char *v)
{
}
static void string_set(char **s, char *v)
{
- if (*s) free(*s);
if (!v) {
*s = NULL;
return;
if (!v) {
*s = NULL;
return;