Ignore:
Timestamp:
Nov 17, 2009, 1:05:15 PM (12 years ago)
Author:
arnold
Message:

Buggy P2P version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/PeerToPeer_DHTremove/P2PDHTremove.cs

    r813 r862  
    2626using Cryptool.PluginBase.Control;
    2727
     28/*TODO:
     29 * - PAP: dht.Remove wirft Fehler - sollen Dezember abgestellt werden...
     30 *   Daher ist PlugIn derzeit fehlerhaft!
     31 */
    2832namespace Cryptool.Plugins.PeerToPeer
    2933{
     
    136140            if (DhtKey != null)
    137141            {
    138                 P2PMaster.DHTremove(DhtKey);
    139                 GuiLogMessage("Entry with the key '" + DhtKey + "' will be removed from the DHT", NotificationLevel.Info);
     142                if(P2PMaster.DHTremove(DhtKey))
     143                    GuiLogMessage("Entry with the key '" + DhtKey + "' is removed from the DHT", NotificationLevel.Info);
     144                else
     145                    GuiLogMessage("Entry with the key '" + DhtKey + "' isn't removed from the DHT", NotificationLevel.Warning);
    140146            }
    141147            else
Note: See TracChangeset for help on using the changeset viewer.