mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
minor cleanup
This commit is contained in:
parent
6c6d3d8f0c
commit
198461b7ff
@ -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 New Issue
Block a user