]> git.sur5r.net Git - openldap/commitdiff
Fix typos in error messages
authorHoward Chu <hyc@openldap.org>
Sat, 27 Aug 2005 01:18:47 +0000 (01:18 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 27 Aug 2005 01:18:47 +0000 (01:18 +0000)
servers/slapd/controls.c

index 3bfbdf179e22a8fb4fc3fda508cff74ddb34bf84..5e249595602f463b53acb1853c6be5b16dc52480 100644 (file)
@@ -1333,7 +1333,7 @@ static int parseSearchOptions (
        ber_tag_t tag;
 
        if ( ctrl->ldctl_value.bv_len == 0 ) {
-               rs->sr_text = "searchOptions control value not empty";
+               rs->sr_text = "searchOptions control value is empty (or absent)";
                return LDAP_PROTOCOL_ERROR;
        }
 
@@ -1367,7 +1367,7 @@ static int parseSearchOptions (
                 * including:
                 *              LDAP_SEARCH_FLAG_PHANTOM_ROOM
                 */
-               rs->sr_text = "searchOptions contained unrecongized flag";
+               rs->sr_text = "searchOptions contained unrecognized flag";
                return LDAP_UNWILLING_TO_PERFORM;
        }