Commit 12346ab4 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Remove lint reported have Hallvard

parent 856c1340
......@@ -776,15 +776,16 @@ char *query;
e = ldap_first_entry( ld, res );
oc = ldap_get_values( ld, e, "objectClass" );
if ( isnonleaf( ld, oc, dn ) ) {
dn = ldap_get_dn( ld, e );
dn = ldap_get_dn( ld, e );
if ( isnonleaf( ld, oc, dn ) ) {
rc = do_menu( ld, fp, dn );
free( dn );
return( rc );
}
free( dn );
ldap_value_free( oc );
}
......
......@@ -21,6 +21,7 @@ int Argc; /* original argc */
/* VARARGS */
setproctitle( fmt, a, b, c )
char *fmt;
char *a, *b, *c;
{
static char *endargv = (char *)0;
char *s;
......
......@@ -480,7 +480,7 @@ char *cp;
return(tmp);
}
char * code_to_str(i)
char * code_to_str(int i)
{
switch(i) {
case LDAP_MOD_ADD : return("ADD");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment