projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
514cdac
)
During 2nd stage setup, define also DNS hostname of the computer if possible
author
Hervé Poussineau
<hpoussin@reactos.org>
Tue, 27 Sep 2005 14:27:14 +0000
(14:27 +0000)
committer
Hervé Poussineau
<hpoussin@reactos.org>
Tue, 27 Sep 2005 14:27:14 +0000
(14:27 +0000)
svn path=/trunk/; revision=18125
reactos/lib/syssetup/wizard.c
patch
|
blob
|
history
diff --git
a/reactos/lib/syssetup/wizard.c
b/reactos/lib/syssetup/wizard.c
index
ab620d2
..
d524091
100644
(file)
--- a/
reactos/lib/syssetup/wizard.c
+++ b/
reactos/lib/syssetup/wizard.c
@@
-480,6
+480,8
@@
ComputerPageDlgProc(HWND hwndDlg,
SetWindowLong(hwndDlg, DWL_MSGRESULT, -1);
return TRUE;
}
+ /* Try to also set DNS hostname */
+ SetComputerNameEx(ComputerNamePhysicalDnsHostname, ComputerName);
/* Check admin passwords */
GetDlgItemText(hwndDlg, IDC_ADMINPASSWORD1, Password1, 15);