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: ...@@ -330,13 +330,17 @@ output_msg:
got_xfer_error = 1; got_xfer_error = 1;
/* FALL THROUGH */ /* FALL THROUGH */
case FERROR: case FERROR:
case FERROR_UTF8:
case FERROR_SOCKET:
case FWARNING: case FWARNING:
f = stderr; f = stderr;
break; break;
case FLOG:
case FINFO: case FINFO:
case FCLIENT: case FCLIENT:
break; break;
default: default:
fprintf(stderr, "Unknown logcode in rwrite(): %d\n", (int)code);
exit_cleanup(RERR_MESSAGEIO); 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