Browse Source

Ticket #47972 - make parsing of nsslapd-changelogmaxage more fool proof

Description: apply the same fix made on the MMR plug-in to the retrocl
plug-in, as well.

https://fedorahosted.org/389/ticket/47972

Reviewed by [email protected] (Thanks, Mark!!)
Noriko Hosoi 10 years ago
parent
commit
578f9461a7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ldap/servers/plugins/retrocl/retrocl_trim.c

+ 2 - 2
ldap/servers/plugins/retrocl/retrocl_trim.c

@@ -478,10 +478,10 @@ age_str2time (const char *age)
       ageval *= ( 7 * 24 * 60 * 60 );
       break;
     default:
-      slapi_log_error( SLAPI_LOG_PLUGIN, "retrocl",
+      slapi_log_error( SLAPI_LOG_FATAL, "retrocl",
 		       "age_str2time: unknown unit \"%c\" "
 		       "for maxiumum changelog age\n", unit );
-      ageval = -1;
+      ageval = 0;
     }
 done:
     if ( maxage) {