]> arthur.barton.de Git - netatalk.git/commitdiff
Fix a problem with the new logger code.
authorjmarcus <jmarcus>
Thu, 10 Jan 2002 01:36:23 +0000 (01:36 +0000)
committerjmarcus <jmarcus>
Thu, 10 Jan 2002 01:36:23 +0000 (01:36 +0000)
libatalk/dsi/dsi_tcp.c

index 64e88b95a5ae2274efd46ec86bf089490f26976d..08acb7378538959328ee8e1cfaaf29011cb4cd56 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: dsi_tcp.c,v 1.6 2002-01-04 04:45:48 sibaz Exp $
+ * $Id: dsi_tcp.c,v 1.7 2002-01-10 01:36:23 jmarcus Exp $
  *
  * Copyright (c) 1997, 1998 Adrian Sun (asun@zoology.washington.edu)
  * All rights reserved. See COPYRIGHT.
@@ -109,7 +109,7 @@ static int dsi_tcp_open(DSI *dsi)
     request_init(&req, RQ_DAEMON, dsi->program, RQ_FILE, dsi->socket, NULL);
     fromhost(&req);
     if (!hosts_access(&req)) {
-      LOG(deny_severity, "refused connect from %s", eval_client(&req));
+      LOG(deny_severity, logtype_default, "refused connect from %s", eval_client(&req));
       close(dsi->socket);
       errno = ECONNREFUSED;
       dsi->socket = -1;