The contract of suretyship is that whereby one obligates himself to pay the debt of another in consideration of credit or indulgence , or other benefit given to his principal, the principal remaining bound therefor. It differs from a guaranty iu this: that the consideration of the latter is a benefit flowing to the guarantor. Code Ga. 1S82,