Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2019-04-17 11:51:48 +0000
committerMagnus Hagander2019-04-17 11:51:48 +0000
commit252b707bc41cc9bf6c55c18d8cb302a6176b7e48 (patch)
tree81ad76fd40b266f9ace5614ee1372df865e8c869 /src/interfaces/libpq/fe-secure-gssapi.c
parent9010156445c420361c2cef9557751c0b8b52644b (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