Commit ef9d3a15 authored by Wayne Davison's avatar Wayne Davison

Make sure rwrite() can handle any logcode value in --msgs2stderr mode.

parent fe16d9a6
......@@ -330,13 +330,17 @@ output_msg:
got_xfer_error = 1;
/* FALL THROUGH */
case FERROR:
case FERROR_UTF8:
case FERROR_SOCKET:
case FWARNING:
f = stderr;
break;
case FLOG:
case FINFO:
case FCLIENT:
break;
default:
fprintf(stderr, "Unknown logcode in rwrite(): %d\n", (int)code);
exit_cleanup(RERR_MESSAGEIO);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment