]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/entry.c
Move the input data exhaustion loop to connection.c from daemon.c
[openldap] / servers / slapd / entry.c
index 7e2a0b389d7bbc1c778ae8625caa9de980d03c41..563e01cec113c893c12e15919146340f9606fa57 100644 (file)
@@ -49,7 +49,7 @@ str2entry( char       *s )
 
        /* check to see if there's an id included */
        next = s;
-       if ( isdigit( *s ) ) {
+       if ( isdigit( (unsigned char) *s ) ) {
                id = atoi( s );
                if ( (s = ldif_getline( &next )) == NULL ) {
                        Debug( LDAP_DEBUG_TRACE,
@@ -217,7 +217,6 @@ entry2str(
 void
 entry_free( Entry *e )
 {
-       int             i;
        Attribute       *a, *next;
 
        if ( e->e_dn != NULL ) {