Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'XmlFix' of https://github.com/PunMaster/winsw
Browse files Browse the repository at this point in the history
Conflicts:
	ServiceDescriptor.cs

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
  • Loading branch information
oleg-nenashev committed Nov 29, 2014
2 parents b93e08e + 60817bc commit 67aa8a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ServiceDescriptor.cs
Expand Up @@ -419,7 +419,7 @@ public TimeSpan WaitHint
{
get
{
return SingleTimeSpanElement(dom, "waithint", TimeSpan.FromSeconds(15));
return SingleTimeSpanElement(dom.FirstChild, "waithint", TimeSpan.FromSeconds(15));
}
}

Expand All @@ -433,7 +433,7 @@ public TimeSpan SleepTime
{
get
{
return SingleTimeSpanElement(dom, "sleeptime", TimeSpan.FromSeconds(1));
return SingleTimeSpanElement(dom.FirstChild, "sleeptime", TimeSpan.FromSeconds(1));
}
}

Expand Down Expand Up @@ -519,7 +519,7 @@ public TimeSpan ResetFailureAfter
{
get
{
return SingleTimeSpanElement(dom, "resetfailure", TimeSpan.FromDays(1));
return SingleTimeSpanElement(dom.FirstChild, "resetfailure", TimeSpan.FromDays(1));
}
}

Expand Down

0 comments on commit 67aa8a1

Please sign in to comment.