Tonic water can contain up to 83mg/L actual quinine. Three 2L bottles of tonic water could get you 500mg, a therapeutic dose of quinine. Unfortunately, I have not found any place that manufacturers note how much quinine is in their tonic water.
And 6L of tonic water is... quite a lot.
Shudder.
The ibuprofen did its job though.
(I do not recommend this and am not a doctor)