mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-22 05:44:17 -04:00
Cast the enum in rwrite() when calling send_msg().
This commit is contained in:
1 parent
3723548ded
commit
f1c9bcd0fc
1 file changed
+1
-1
@@ -256,7 +256,7 @@ void rwrite(enum logcode code, char *buf, int len)
|
||||
|
||||
if (am_server) {
|
||||
/* Pass the message to the non-server side. */
|
||||
if (send_msg(code, buf, len))
|
||||
if (send_msg((enum msgcode)code, buf, len))
|
||||
return;
|
||||
if (am_daemon) {
|
||||
/* TODO: can we send the error to the user somehow? */
|
||||
|
||||
Reference in new issue
Block a user