Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/28/12 14:38:56 (12 years ago)
Author:
spimming
Message:

#1680:

  • restore subscription data on cloud manager startup
  • correct idxs for parsing subscription string
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Model/Subscription.cs

    r7655 r7668  
    109109      int idxSeparator = settingString.IndexOf(';');
    110110      string subId = settingString.Substring(0, idxSeparator);
    111       string certThumbprint = settingString.Substring(idxSeparator, settingString.Length);
     111      int length = settingString.Length - 1 - idxSeparator;
     112      string certThumbprint = settingString.Substring(idxSeparator + 1, length);
    112113      Subscription sub = new Subscription();
    113114      sub.SubscriptionID = subId;
Note: See TracChangeset for help on using the changeset viewer.