mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
- DHCP: strlwr -> _strlwr and remove allowwarnings=true
svn path=/trunk/; revision=38322
This commit is contained in:
parent
1b5adc87fa
commit
728213a13c
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
|
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
|
||||||
<module name="dhcp" type="win32cui" installbase="system32" installname="dhcp.exe" allowwarnings="true">
|
<module name="dhcp" type="win32cui" installbase="system32" installname="dhcp.exe">
|
||||||
<include base="dhcp">.</include>
|
<include base="dhcp">.</include>
|
||||||
<include base="dhcp">include</include>
|
<include base="dhcp">include</include>
|
||||||
<library>ntdll</library>
|
<library>ntdll</library>
|
||||||
|
|
|
@ -121,7 +121,7 @@ int read_client_conf(void) {
|
||||||
if (lpCompName !=NULL) {
|
if (lpCompName !=NULL) {
|
||||||
memcpy(lpCompName, ComputerName, ComputerNameSize + 1);
|
memcpy(lpCompName, ComputerName, ComputerNameSize + 1);
|
||||||
/* Send our hostname, some dhcpds use this to update DNS */
|
/* Send our hostname, some dhcpds use this to update DNS */
|
||||||
config->send_options[DHO_HOST_NAME].data = (u_int8_t*)strlwr(lpCompName);
|
config->send_options[DHO_HOST_NAME].data = (u_int8_t*)_strlwr(lpCompName);
|
||||||
config->send_options[DHO_HOST_NAME].len = ComputerNameSize;
|
config->send_options[DHO_HOST_NAME].len = ComputerNameSize;
|
||||||
debug("Hostname: %s, length: %d",
|
debug("Hostname: %s, length: %d",
|
||||||
config->send_options[DHO_HOST_NAME].data,
|
config->send_options[DHO_HOST_NAME].data,
|
||||||
|
|
Loading…
Reference in a new issue