[SCM] Samba Shared Repository - branch master updated
Matthias Dieter Wallnöfer
mdw at samba.org
Tue Mar 30 13:39:41 MDT 2010
The branch, master has been updated
via 818fcfb... libcli/nbt/dns_hosts_file.c - change "ULONG_MAX" into "UINT32_MAX"
from 3e091a8... s4:gensec_gssapi.c - make sure that "GSS_C_DELEG_POLICY_FLAG" is available
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 818fcfb8139d43f2136452029ac320e48ec154f7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 19:08:57 2010 +0200
libcli/nbt/dns_hosts_file.c - change "ULONG_MAX" into "UINT32_MAX"
This fits better since the variable which is tested is of type "uint32_t".
-----------------------------------------------------------------------
Summary of changes:
libcli/nbt/dns_hosts_file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/libcli/nbt/dns_hosts_file.c b/libcli/nbt/dns_hosts_file.c
index 6665a10..810e4eb 100644
--- a/libcli/nbt/dns_hosts_file.c
+++ b/libcli/nbt/dns_hosts_file.c
@@ -119,7 +119,7 @@ static bool getdns_hosts_fileent(TALLOC_CTX *ctx, XFILE *fp, char **pp_name, cha
continue;
}
*p_port = strtoul(port, NULL, 10);
- if (*p_port == ULONG_MAX) {
+ if (*p_port == UINT32_MAX) {
DEBUG(0, ("getdns_hosts_fileent: Ill formed hosts SRV record [%s] (invalid port: %s)\n",
line, port));
continue;
--
Samba Shared Repository
More information about the samba-cvs
mailing list