From 2541dc9d7541041392a38520f41eb636c4e6bf36 Mon Sep 17 00:00:00 2001 From: Fons Rademakers <Fons.Rademakers@cern.ch> Date: Thu, 24 Feb 2005 10:35:51 +0000 Subject: [PATCH] From Gerri: Fix for a badly placed ')' in the open statement for .rootdpass introduced in version 1.71. git-svn-id: http://root.cern.ch/svn/root/trunk@11175 27541ba8-7e3a-0410-8455-c3a389f83636 --- rpdutils/src/rpdutils.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpdutils/src/rpdutils.cxx b/rpdutils/src/rpdutils.cxx index 0c91663fb04..2dea1476b50 100644 --- a/rpdutils/src/rpdutils.cxx +++ b/rpdutils/src/rpdutils.cxx @@ -1,4 +1,4 @@ -// @(#)root/rpdutils:$Name: $:$Id: rpdutils.cxx,v 1.71 2005/02/21 11:13:00 rdm Exp $ +// @(#)root/rpdutils:$Name: $:$Id: rpdutils.cxx,v 1.72 2005/02/22 17:14:28 rdm Exp $ // Author: Gerardo Ganis 7/4/2003 /************************************************************************* @@ -6463,7 +6463,7 @@ int RpdRetrieveSpecialPass(const char *usr, const char *fpw, char *pass, int lpw goto back; } - if ((fid = open(rootdpass, O_RDONLY) == -1)) { + if ((fid = open(rootdpass, O_RDONLY)) == -1) { ErrorInfo("RpdRetrieveSpecialPass: cannot open password file" " %s (errno: %d)", rootdpass, GetErrno()); rc = -1; -- GitLab