Apply ITS#148 fix for "ud find seg fault", NULL in printf

This commit is contained in:
Kurt Zeilenga 1999-04-28 20:04:37 +00:00
parent 6d27bf32d1
commit b97c4c350d

View file

@ -225,9 +225,12 @@ do_commands( void )
parse_answer(mp);
print_an_entry();
ldap_msgfree(mp);
}
else
} else if (cp != NULL) {
printf(" Could not find \"%s\".\n", cp);
} else {
printf(" Could not complete find.\n");
}
}
#ifdef UOFM
else if (iscom("vedit") && isatty( 1 )) {