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
Changed the *_abbbrevint() functions to *_varint().
[rsync/rsync.git]
/
io.h
diff --git
a/io.h
b/io.h
index
360a947
..
dc43683
100644
(file)
--- a/
io.h
+++ b/
io.h
@@
-18,18
+18,18
@@
extern int protocol_version;
static inline int32
extern int protocol_version;
static inline int32
-read_
abbrev
int30(int f)
+read_
var
int30(int f)
{
if (protocol_version < 30)
return read_int(f);
{
if (protocol_version < 30)
return read_int(f);
- return read_
abbrev
int(f);
+ return read_
var
int(f);
}
static inline void
}
static inline void
-write_
abbrev
int30(int f, int32 x)
+write_
var
int30(int f, int32 x)
{
if (protocol_version < 30)
write_int(f, x);
else
{
if (protocol_version < 30)
write_int(f, x);
else
- write_
abbrev
int(f, x);
+ write_
var
int(f, x);
}
}