/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
- *
+ *
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
*
*/
BOOL GetAfsPrincipalPassword(HWND hParent, TCHAR *&pszServerPW)
-{
+{
int nResult = ModalDialog(IDD_GET_PW, hParent, (DLGPROC)GetPwDlgProc);
if (nResult == IDOK) {
pszServerPW = g_CfgData.szServerPW;
static void SaveDlgInfo()
{
TCHAR szText[cchRESOURCE];
-
+
lstrncpy(g_CfgData.szServerPW, GetWndText(hDlg, IDC_PW, szText), MAX_SERVER_PW_LEN);
}