Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
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;
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;
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('''
|| 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;
}