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:
6b2a3d5
)
Added send_msg_int() function.
author
Wayne Davison
<wayned@samba.org>
Mon, 4 Dec 2006 02:07:30 +0000
(
02:07
+0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 4 Dec 2006 02:07:30 +0000
(
02:07
+0000)
io.c
patch
|
blob
|
blame
|
history
diff --git
a/io.c
b/io.c
index
79fb7e9
..
33a0e65
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-405,6
+405,13
@@
int send_msg(enum msgcode code, const char *buf, int len)
return 1;
}
+void send_msg_int(enum msgcode code, int num)
+{
+ char numbuf[4];
+ SIVAL(numbuf, 0, num);
+ send_msg(code, numbuf, 4);
+}
+
int get_redo_num(int itemizing, enum logcode code)
{
while (1) {