diff options
author | Wayne Davison <wayned@samba.org> | 2006-05-03 16:58:36 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-05-03 16:58:36 +0000 |
commit | f1c9bcd0fcaf72712de792c5f22b8b95d7f6291d (patch) | |
tree | 3b2339d9b2afa2010457d85a82ba7747362dff3f /log.c | |
parent | 3723548dedd44811fc7ac9425ac3134e46bfd52a (diff) | |
download | rsync-f1c9bcd0fcaf72712de792c5f22b8b95d7f6291d.tar.gz rsync-f1c9bcd0fcaf72712de792c5f22b8b95d7f6291d.tar.bz2 rsync-f1c9bcd0fcaf72712de792c5f22b8b95d7f6291d.zip |
Cast the enum in rwrite() when calling send_msg().
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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? */ |