[Date Prev][Date Next] [Chronological] [Thread] [Top]

typo in cyrus.c (ITS#978)



Full_Name: Mike Schiraldi
Version: HEAD
OS: RHL 7.0
URL: 
Submission from: (NULL) (216.168.254.240)


(Should i even be submitting bug reports to branches like this one?)

Syntax error in cyrus.c. I believe this is the intended grouping:

diff -u -r1.27 cyrus.c
--- ./libraries/libldap/cyrus.c 2001/01/19 03:53:21     1.27
+++ ./libraries/libldap/cyrus.c 2001/01/22 19:45:06
@@ -768,8 +768,8 @@
                                return LDAP_NOT_SUPPORTED;
                        }
 
-                       if( maxbufsize && (( maxbufsize < SASL_MIN_BUFF_SIZE )
{
-                               || (maxbufsize > SASL_MAX_BUFF_SIZE ))
+                       if( maxbufsize && (( maxbufsize < SASL_MIN_BUFF_SIZE ) 
+                               || (maxbufsize > SASL_MAX_BUFF_SIZE )))
                        {
                                /* bad maxbufsize */
                                return LDAP_PARAM_ERROR;