Fixed a bug in DBconn::GetLastError() function.

pgAgent was crashing, while removing the trailing new-lines from the
empty error message string (Reported by: Thomas Krennwallner)

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgagent.git;a=commitdiff;h=f9bf1ccb27ebcfce00e7a6d467bc0e1b5ee9555e

Modified Files
--------------
connection.cpp |   10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to