Fix a couple of places where the result of fgets() wasn't checked.
Tom Lane <tgl@sss.pgh.pa.us>
Fix a couple of places where the result of fgets() wasn't checked. This is mostly to suppress compiler warnings, although in principle the cases could result in undesirable behavior. Martin Pitt
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/prompt.c | modified | +3 −2 |
| src/interfaces/libpq/fe-connect.c | modified | +3 −2 |