- DHCP: strlwr -> _strlwr and remove allowwarnings=true

svn path=/trunk/; revision=38322
This commit is contained in:
Stefan Ginsberg 2008-12-24 09:20:04 +00:00
parent 1b5adc87fa
commit 728213a13c
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!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>
<library>ntdll</library>

View file

@ -121,7 +121,7 @@ int read_client_conf(void) {
if (lpCompName !=NULL) {
memcpy(lpCompName, ComputerName, ComputerNameSize + 1);
/* 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;
debug("Hostname: %s, length: %d",
config->send_options[DHO_HOST_NAME].data,