Skip to content

Commit

Permalink
Trap on values == "" causing a problem when trying to be parsed and s…
Browse files Browse the repository at this point in the history
…plit
  • Loading branch information
robincornelius committed Nov 22, 2016
1 parent 23bda36 commit 29d37a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libEDSsharp/CanOpenNodeExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,9 @@ string make_cname(string name)
if (name == null)
return null;

if (name == "")
return "";

string[] bits = Regex.Split(name,@"[\W]+");

string output = "";
Expand Down

0 comments on commit 29d37a6

Please sign in to comment.