git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@731
959494ce-11ee-0310-bf91-
de5d638817bd
(dc-ecmd-assert 200 "notify" "fn:act" "on")
(dc-handle-fn)
(dc-fnproc-reg 'state (lambda (fn)
(dc-ecmd-assert 200 "notify" "fn:act" "on")
(dc-handle-fn)
(dc-fnproc-reg 'state (lambda (fn)
- (if (eq? (cdr (assq 'state fn)) 'dead)
+ (if (and (eq? (cdr (assq 'state fn)) 'dead)
+ (assq (cdr (assq 'id fn)) (map (lambda (o) (cons (cdr o) (car o))) connlist)))
(begin (logf "~a died" (cdr (assq 'id fn)))
(dc-qcmd (list "dcnct" (cdr (assq 'id fn))))))
(cklist)))
(begin (logf "~a died" (cdr (assq 'id fn)))
(dc-qcmd (list "dcnct" (cdr (assq 'id fn))))))
(cklist)))