Skip to content

Commit b7ec3b2

Browse files
committed
Fix WSDL duration image used in SOAP streaming.
Continued work for T915-027.
1 parent b3b9638 commit b7ec3b2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/soap/soap-types.adb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,23 +1005,23 @@ package body SOAP.Types is
10051005
S := N_S - B_S - N;
10061006
N := 0;
10071007
else
1008-
S := 60 - B_S + N_S;
1008+
S := 60 - B_S + N_S - N;
10091009
N := 1;
10101010
end if;
10111011

10121012
if N_I >= B_I then
10131013
I := N_I - B_I - N;
10141014
N := 0;
10151015
else
1016-
I := 60 - B_I + N_I;
1016+
I := 60 - B_I + N_I - N;
10171017
N := 1;
10181018
end if;
10191019

10201020
if N_H >= B_H then
10211021
H := N_H - B_H - N;
10221022
N := 0;
10231023
else
1024-
H := 24 - B_H + N_H;
1024+
H := 24 - B_H + N_H - N;
10251025
N := 1;
10261026
end if;
10271027

@@ -1034,15 +1034,15 @@ package body SOAP.Types is
10341034
D := N_DW - B_DW - N;
10351035
N := 0;
10361036
else
1037-
D := 7 - B_DW + N_DW;
1037+
D := 7 - B_DW + N_DW - N;
10381038
N := 1;
10391039
end if;
10401040

10411041
if N_M >= B_M then
10421042
M := N_M - B_M + N;
10431043
N := 0;
10441044
else
1045-
M := 12 - B_M + N_M;
1045+
M := 12 - B_M + N_M - N;
10461046
N := 1;
10471047
end if;
10481048

0 commit comments

Comments
 (0)