mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
minor cleanup
This commit is contained in:
parent
6c6d3d8f0c
commit
198461b7ff
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ open_ldap_connection( LDAP *ld, Sockbuf *sb, char *host, int defport,
|
|||
curhost = hostname;
|
||||
}
|
||||
*r++ = '\0';
|
||||
port = htons( (short)atoi( r ));
|
||||
port = htons( (short) atoi( r ) );
|
||||
} else {
|
||||
port = defport;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue