Skip to content

Commit 5f00f77

Browse files
author
hannemann
committed
Fix timer filename not converted on update if original filename is used
1 parent 5ac1000 commit 5f00f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

timers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void TimersResponder::createOrUpdateTimer(ostream& out, cxxtools::http::Request&
111111
if ( timer_orig == NULL ) { error = true; error_values += "timer_id, "; }
112112
if ( !error ) {
113113
if ( !v.IsFlagsValid(flags) ) { flags = timer_orig->Flags(); }
114-
if ( !v.IsFileValid(file) ) { file = (string)timer_orig->File(); }
114+
if ( !v.IsFileValid(file) ) { file = v.ConvertFile((string)timer_orig->File()); }
115115
if ( !v.IsLifetimeValid(lifetime) ) { lifetime = timer_orig->Lifetime(); }
116116
if ( !v.IsPriorityValid(priority) ) { priority = timer_orig->Priority(); }
117117
if ( !v.IsStopValid(stop) ) { stop = timer_orig->Stop(); }

0 commit comments

Comments
 (0)