From 6d0dd9119c5e23240326fb7d9ceca42689c0ef36 Mon Sep 17 00:00:00 2001 From: bp Date: Thu, 22 Mar 2001 10:38:16 +0000 Subject: Move bindery authentication ncps to ncp_ncp.c file. ncp_login.c will stay empty for a while. --- sys/netncp/ncp_rq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/netncp/ncp_rq.c') diff --git a/sys/netncp/ncp_rq.c b/sys/netncp/ncp_rq.c index 3745bef..123d208 100644 --- a/sys/netncp/ncp_rq.c +++ b/sys/netncp/ncp_rq.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2000, 2001 Boris Popov + * Copyright (c) 1999-2001 Boris Popov * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -421,7 +421,7 @@ ncp_restore_login(struct ncp_conn *conn) conn->flags |= NCPFL_RESTORING; error = ncp_conn_reconnect(conn); if (!error && (conn->flags & NCPFL_WASLOGGED)) - error = ncp_login_object(conn, conn->li.user, conn->li.objtype, conn->li.password,conn->procp,conn->ucred); + error = ncp_conn_login(conn, conn->procp, conn->ucred); if (error) ncp_ncp_disconnect(conn); conn->flags &= ~NCPFL_RESTORING; -- cgit v1.1