]> git.sur5r.net Git - openldap/commitdiff
minor cleanup
authorKurt Zeilenga <kurt@openldap.org>
Sat, 24 Oct 1998 20:25:50 +0000 (20:25 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 24 Oct 1998 20:25:50 +0000 (20:25 +0000)
libraries/libldap/open.c

index 7fa90682eea50a176e1788c16707ea9948946f6f..ef3ceccde4f4403682feab1d8da65291392ed6af 100644 (file)
@@ -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;   
                        }