diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 08a52939d3..7a92f09e3d 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -5980,7 +5980,7 @@ slap_uuidstr_from_normalized( new->bv_len = 36; if ( ( new->bv_val = slap_sl_malloc( new->bv_len + 1, ctx ) ) == NULL ) { - rc = 1; + rc = -1; goto done; }