summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/public/nsapi.h2
-rw-r--r--ldap/servers/plugins/replication/windows_inc_protocol.c2
-rw-r--r--ldap/servers/slapd/back-ldbm/import-threads.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/include/public/nsapi.h b/include/public/nsapi.h
index 81013470..9e4c13e9 100644
--- a/include/public/nsapi.h
+++ b/include/public/nsapi.h
@@ -153,8 +153,6 @@
#define INVALID_WILDPAT -2 /* exp is an invalid pattern */
#define VALID_WILDPAT 1 /* exp is a valid pattern */
-//#endif /* USE_REGEX */
-
/* Define return codes from regexp_valid and shexp_valid */
#define NON_SXP NON_WILDPAT /* exp is an ordinary string */
#define INVALID_SXP INVALID_WILDPAT /* exp is an invalid shell exp */
diff --git a/ldap/servers/plugins/replication/windows_inc_protocol.c b/ldap/servers/plugins/replication/windows_inc_protocol.c
index df09fe97..cb9e9c0e 100644
--- a/ldap/servers/plugins/replication/windows_inc_protocol.c
+++ b/ldap/servers/plugins/replication/windows_inc_protocol.c
@@ -279,7 +279,7 @@ windows_inc_run(Private_Repl_Protocol *prp)
PRBool use_busy_backoff_timer = PR_FALSE;
long pausetime = 0;
long busywaittime = 0;
- // Some operations should only be done the first time STATE_START is true.
+ /* Some operations should only be done the first time STATE_START is true. */
static PRBool is_first_start = PR_TRUE;
PRBool run_dirsync = PR_FALSE;
diff --git a/ldap/servers/slapd/back-ldbm/import-threads.c b/ldap/servers/slapd/back-ldbm/import-threads.c
index 6add539d..8f750d63 100644
--- a/ldap/servers/slapd/back-ldbm/import-threads.c
+++ b/ldap/servers/slapd/back-ldbm/import-threads.c
@@ -1991,7 +1991,7 @@ dse_conf_verify_core(struct ldbminfo *li, char *src_dir, char *file_name, char *
*bep = e;
bep++;
}
- // 623986: terminate the list if we reallocated backup_entries
+ /* 623986: terminate the list if we reallocated backup_entries */
if (backup_entry_len > 256)
*bep = NULL;