Skip to content
Snippets Groups Projects
Commit 198461b7 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

minor cleanup

parent 6c6d3d8f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment