From a7bffd533c41d2ed33d593281edb6e78e4db27cc Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Mon, 29 Jan 2007 14:14:53 +0000 Subject: INTEGRATION: CWS hro11_SRC680 (1.25.26); FILE MERGED 2007/01/25 17:46:22 hro 1.25.26.1: #i73601# Fixed contact flag --- crashrep/source/unx/main.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'crashrep') diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx index 95cd317e1988..0bacb7f0737d 100755 --- a/crashrep/source/unx/main.cxx +++ b/crashrep/source/unx/main.cxx @@ -4,9 +4,9 @@ * * $RCSfile: main.cxx,v $ * - * $Revision: 1.25 $ + * $Revision: 1.26 $ * - * last change: $Author: ihi $ $Date: 2006-08-29 13:32:09 $ + * last change: $Author: rt $ $Date: 2007-01-29 15:14:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -966,9 +966,10 @@ static void read_settings_from_environment( hash_map< string, string >& rSetting if ( strEnv.length() ) { rSettings[ "EMAIL" ] = strEnv; - rSettings[ "CONTACT" ] = "true"; + if ( !(rSettings.find( "CONTACT" )->second).length() ) + rSettings[ "CONTACT" ] = "true"; } - else + else if ( !(rSettings.find( "CONTACT" )->second).length() ) rSettings[ "CONTACT" ] = "false"; -- cgit v1.2.3