diff options
author | Magnus Hagander | 2019-04-17 11:51:48 +0000 |
---|---|---|
committer | Magnus Hagander | 2019-04-17 11:51:48 +0000 |
commit | 252b707bc41cc9bf6c55c18d8cb302a6176b7e48 (patch) | |
tree | 81ad76fd40b266f9ace5614ee1372df865e8c869 /src/interfaces/libpq/fe-secure-gssapi.c | |
parent | 9010156445c420361c2cef9557751c0b8b52644b (diff) |
Return NULL for checksum failures if checksums are not enabled
Returning 0 could falsely indicate that there is no problem. NULL
correctly indicates that there is no information about potential
problems.
Also return 0 as numbackends instead of NULL for shared objects (as no
connection can be made to a shared object only).
Author: Julien Rouhaud <rjuju123@gmail.com>
Reviewed-by: Robert Treat <rob@xzilla.net>
Diffstat (limited to 'src/interfaces/libpq/fe-secure-gssapi.c')
0 files changed, 0 insertions, 0 deletions