One who indemnifies another against an act to be done by the latter, is liable jointly with the person indemnified, and separately to every person injured by such act.
R.L.1910, § 1079.