Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
0f3203c3
Commit
0f3203c3
authored
Jan 29, 2000
by
Andrew Tridgell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some logcode warnings
parent
a2edb26c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
io.c
io.c
+1
-1
log.c
log.c
+2
-2
options.c
options.c
+1
-1
rsync.h
rsync.h
+1
-1
No files found.
io.c
View file @
0f3203c3
...
@@ -429,7 +429,7 @@ void io_flush(void)
...
@@ -429,7 +429,7 @@ void io_flush(void)
if
(
!
io_buffer_count
||
no_flush
)
return
;
if
(
!
io_buffer_count
||
no_flush
)
return
;
if
(
io_multiplexing_out
)
{
if
(
io_multiplexing_out
)
{
mplex_write
(
fd
,
0
,
io_buffer
,
io_buffer_count
);
mplex_write
(
fd
,
FNONE
,
io_buffer
,
io_buffer_count
);
}
else
{
}
else
{
writefd_unbuffered
(
fd
,
io_buffer
,
io_buffer_count
);
writefd_unbuffered
(
fd
,
io_buffer
,
io_buffer_count
);
}
}
...
...
log.c
View file @
0f3203c3
...
@@ -194,7 +194,7 @@ void rflush(enum logcode code)
...
@@ -194,7 +194,7 @@ void rflush(enum logcode code)
/* a generic logging routine for send/recv, with parameter
/* a generic logging routine for send/recv, with parameter
substitiution */
substitiution */
static
void
log_formatted
(
int
fd
,
static
void
log_formatted
(
enum
logcode
code
,
char
*
format
,
char
*
op
,
struct
file_struct
*
file
,
char
*
format
,
char
*
op
,
struct
file_struct
*
file
,
struct
stats
*
initial_stats
)
struct
stats
*
initial_stats
)
{
{
...
@@ -284,7 +284,7 @@ static void log_formatted(int fd,
...
@@ -284,7 +284,7 @@ static void log_formatted(int fd,
s
=
p
+
l
;
s
=
p
+
l
;
}
}
rprintf
(
fd
,
"%s
\n
"
,
buf
);
rprintf
(
code
,
"%s
\n
"
,
buf
);
}
}
/* log the outgoing transfer of a file */
/* log the outgoing transfer of a file */
...
...
options.c
View file @
0f3203c3
...
@@ -84,7 +84,7 @@ int list_only = 0;
...
@@ -84,7 +84,7 @@ int list_only = 0;
struct
in_addr
socket_address
=
{
INADDR_ANY
};
struct
in_addr
socket_address
=
{
INADDR_ANY
};
void
usage
(
int
F
)
void
usage
(
enum
logcode
F
)
{
{
rprintf
(
F
,
"rsync version %s Copyright Andrew Tridgell and Paul Mackerras
\n\n
"
,
rprintf
(
F
,
"rsync version %s Copyright Andrew Tridgell and Paul Mackerras
\n\n
"
,
VERSION
);
VERSION
);
...
...
rsync.h
View file @
0f3203c3
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
#define MPLEX_BASE 7
#define MPLEX_BASE 7
enum
logcode
{
FERROR
=
1
,
FINFO
=
2
,
FLOG
=
3
};
enum
logcode
{
F
NONE
=
0
,
F
ERROR
=
1
,
FINFO
=
2
,
FLOG
=
3
};
#include "errcode.h"
#include "errcode.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment