Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f5a49d0
)
Got rid of a few empty lines.
author
Wayne Davison
<wayned@samba.org>
Tue, 17 Jan 2006 02:16:57 +0000
(
02:16
+0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 17 Jan 2006 02:16:57 +0000
(
02:16
+0000)
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
52e3dac
..
0b2b8e9
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-84,7
+84,6
@@
struct {
};
};
-
/*
* Map from rsync error code to name, or return NULL.
*/
/*
* Map from rsync error code to name, or return NULL.
*/
@@
-98,7
+97,6
@@
static char const *rerr_name(int code)
return NULL;
}
return NULL;
}
-
static void logit(int priority, char *buf)
{
if (logfile_was_closed)
static void logit(int priority, char *buf)
{
if (logfile_was_closed)
@@
-294,7
+292,6
@@
void rwrite(enum logcode code, char *buf, int len)
}
}
}
}
-
/* This is the rsync debugging function. Call it with FINFO, FERROR or
* FLOG. */
void rprintf(enum logcode code, const char *format, ...)
/* This is the rsync debugging function. Call it with FINFO, FERROR or
* FLOG. */
void rprintf(enum logcode code, const char *format, ...)
@@
-336,7
+333,6
@@
void rprintf(enum logcode code, const char *format, ...)
rwrite(code, buf, len);
}
rwrite(code, buf, len);
}
-
/* This is like rprintf, but it also tries to print some
* representation of the error code. Normally errcode = errno.
*
/* This is like rprintf, but it also tries to print some
* representation of the error code. Normally errcode = errno.
*
@@
-368,8
+364,6
@@
void rsyserr(enum logcode code, int errcode, const char *format, ...)
rwrite(code, buf, len);
}
rwrite(code, buf, len);
}
-
-
void rflush(enum logcode code)
{
FILE *f = NULL;
void rflush(enum logcode code)
{
FILE *f = NULL;
@@
-397,8
+391,6
@@
void rflush(enum logcode code)
fflush(f);
}
fflush(f);
}
-
-
/* a generic logging routine for send/recv, with parameter
* substitiution */
static void log_formatted(enum logcode code, char *format, char *op,
/* a generic logging routine for send/recv, with parameter
* substitiution */
static void log_formatted(enum logcode code, char *format, char *op,
@@
-692,7
+684,6
@@
void log_delete(char *fname, int mode)
log_formatted(FLOG, fmt, "del.", &file, &stats, ITEM_DELETED, NULL);
}
log_formatted(FLOG, fmt, "del.", &file, &stats, ITEM_DELETED, NULL);
}
-
/*
* Called when the transfer is interrupted for some reason.
*
/*
* Called when the transfer is interrupted for some reason.
*