mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
09.59.2011 a8b4738ccb535f4c62530bfb3caf543a5b48e357
opends/src/server/org/opends/server/backends/task/TaskBackend.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 *      Portions Copyright 2011 ForgeRock AS
 */
package org.opends.server.backends.task;
@@ -267,12 +268,12 @@
    {
      try
      {
        notificationSenderAddress = "opends-task-notification@" +
        notificationSenderAddress = "opendj-task-notification@" +
             InetAddress.getLocalHost().getCanonicalHostName();
      }
      catch (Exception e)
      {
        notificationSenderAddress = "opends-task-notification@opends.org";
        notificationSenderAddress = "opendj-task-notification@opendj.org";
      }
    }
@@ -2231,12 +2232,12 @@
    {
      try
      {
        tmpNotificationAddress = "opends-task-notification@" +
        tmpNotificationAddress = "opendj-task-notification@" +
             InetAddress.getLocalHost().getCanonicalHostName();
      }
      catch (Exception e)
      {
        tmpNotificationAddress = "opends-task-notification@opends.org";
        tmpNotificationAddress = "opendj-task-notification@opendj.org";
      }
    }
    notificationSenderAddress = tmpNotificationAddress;