Thread: pgAgent commit: Fixed a bug in DBconn::GetLastError() function.

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

From
Ashesh Vashi
Date:
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(-)