diff options
author | fcolin | 2007-02-01 12:55:40 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 12:55:40 +0000 |
commit | 574e115b9a6ee3e2469084a874bfa04f18316208 (patch) | |
tree | a1e4d8c4a012c73a1bdc6c7deff8cdbf684e09ca /Ivy | |
parent | feaa8372e6a9849dae2b624a432bf38cd60d6568 (diff) | |
download | ivy-cplusplus-574e115b9a6ee3e2469084a874bfa04f18316208.zip ivy-cplusplus-574e115b9a6ee3e2469084a874bfa04f18316208.tar.gz ivy-cplusplus-574e115b9a6ee3e2469084a874bfa04f18316208.tar.bz2 ivy-cplusplus-574e115b9a6ee3e2469084a874bfa04f18316208.tar.xz |
Utilisateur : Fcolin Date : 30/06/00 Heure : 9:37 Archivé dans $/Ivy Commentaire: bug si pas de IVYBUS (vss 2)
Diffstat (limited to 'Ivy')
-rw-r--r-- | Ivy/Ivy.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Ivy/Ivy.cxx b/Ivy/Ivy.cxx index e3c6bc6..fd762b6 100644 --- a/Ivy/Ivy.cxx +++ b/Ivy/Ivy.cxx @@ -83,7 +83,9 @@ const char * Ivy::GetDomain(const char *domainlist) }
if ( domain.empty() )
{
- domain = getenv ( "IVYBUS" );
+ const char *env = getenv ( "IVYBUS" );
+ if ( env )
+ domain = env;
if ( domain.empty() )
domain = DEFAULT_DOMAIN;
}
|