The issue of Kπ and ππ
S-wave amplitude is addressed using decays of D-mesons. Model-independent measurements of the phases of the π
+
π
+ and K
-
π
+
S-wave amplitude from D
+→π
-
π
+
π
+ and D
+→K
-
π
+
π
+ decays are discussed. The result indicates a deviation from the phase of the K
-
π
+
S-wave amplitude obtained by scattering experiments. This could be interpreted as an indication of the presence of 3-body final-state interaction, or in other words, that the phases from production and scattering process cannot be directly compared.