summaryrefslogtreecommitdiff
path: root/src/ivy.c
diff options
context:
space:
mode:
authorfcolin1999-11-10 14:14:57 +0000
committerfcolin1999-11-10 14:14:57 +0000
commit6cde633fab3eaa1cf9b9e5d986e4b99670b867fa (patch)
tree9fbe572cd42ffcf22a22552808f9b91cbf615166 /src/ivy.c
parentc1b5f8a67f11e445d2c94f851bd1aa18e40676d0 (diff)
downloadivy-c-6cde633fab3eaa1cf9b9e5d986e4b99670b867fa.zip
ivy-c-6cde633fab3eaa1cf9b9e5d986e4b99670b867fa.tar.gz
ivy-c-6cde633fab3eaa1cf9b9e5d986e4b99670b867fa.tar.bz2
ivy-c-6cde633fab3eaa1cf9b9e5d986e4b99670b867fa.tar.xz
modif pour chaine vide dans le domain traite de la meme maniere que NULL
Diffstat (limited to 'src/ivy.c')
-rw-r--r--src/ivy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ivy.c b/src/ivy.c
index 4a68811..ad752a6 100644
--- a/src/ivy.c
+++ b/src/ivy.c
@@ -591,9 +591,9 @@ void IvyStart (const char* bus)
*/
/* first, let's find something to parse */
- if (!p)
+ if (!p || !*p)
p = getenv ("IVYBUS");
- if (!p)
+ if (!p || !*p)
p = DefaultIvyBus;
/* then, let's get a port number */