Allow #f for NULL host.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Wed, 11 Apr 2007 11:07:38 +0000 (11:07 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Wed, 11 Apr 2007 11:07:38 +0000 (11:07 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@891 959494ce-11ee-0310-bf91-de5d638817bd

lib/guile/dolcon-guile.c

index 7a0f3e2..3ad21ff 100644 (file)
@@ -30,7 +30,7 @@ static SCM scm_dc_connect(SCM host)
     
     if(fd >= 0)
        dc_disconnect();
-    if(host == SCM_UNDEFINED)
+    if((host == SCM_UNDEFINED) || (host == SCM_BOOL_F))
     {
        chost = NULL;
     } else {