mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
Spelling fixes s/convertion/conversion/
Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
6b47c12549
commit
4449f5d1b8
@ -547,7 +547,7 @@ long long int rep_strtoll(const char *str, char **endptr, int base)
|
||||
if (errno == EINVAL) {
|
||||
if (base == 0 || (base >1 && base <37)) {
|
||||
/* Base was ok so it's because we were not
|
||||
* able to make the convertion.
|
||||
* able to make the conversion.
|
||||
* Let's reset errno.
|
||||
*/
|
||||
errno = saved_errno;
|
||||
@ -583,7 +583,7 @@ unsigned long long int rep_strtoull(const char *str, char **endptr, int base)
|
||||
if (errno == EINVAL) {
|
||||
if (base == 0 || (base >1 && base <37)) {
|
||||
/* Base was ok so it's because we were not
|
||||
* able to make the convertion.
|
||||
* able to make the conversion.
|
||||
* Let's reset errno.
|
||||
*/
|
||||
errno = saved_errno;
|
||||
|
@ -404,7 +404,7 @@ def configure(conf):
|
||||
msg="Checking whether we can use SO_PEERCRED to get socket credentials",
|
||||
headers='sys/types.h sys/socket.h')
|
||||
|
||||
#Some OS (ie. freebsd) return EINVAL if the convertion could not be done, it's not what we expect
|
||||
#Some OS (ie. freebsd) return EINVAL if the conversion could not be done, it's not what we expect
|
||||
#Let's detect those cases
|
||||
if conf.CONFIG_SET('HAVE_STRTOLL'):
|
||||
conf.CHECK_CODE('''
|
||||
|
@ -223,7 +223,7 @@ struct spn_struct *parse_spn(TALLOC_CTX *ctx, const char *srvprinc)
|
||||
|| result->port > 65535
|
||||
|| errno == ERANGE) {
|
||||
DBG_ERR("Failed to parse spn %s, port number "
|
||||
"convertion failed\n", srvprinc);
|
||||
"conversion failed\n", srvprinc);
|
||||
errno = 0;
|
||||
goto fail;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user