23-42. Creditor liable for jail fees.
When any debtor is actually confined within the walls of a prison, on an order of arrest in default of bail or otherwise, the jailer must furnish him with necessary food during his confinement, if the prisoner requires it, for which the jailer shall have the same fees as for keeping other prisoners. If the debtor is unable to discharge such fees, the jailer may recover them from the party at whose instance the debtor was confined. And at any time after the arrest, the sheriff or jailer may give notice thereof to the plaintiff, his agent or attorney, and demand security of him for the prison fees that accrue after such notice, and if the plaintiff fails to give such security then the sheriff may discharge the debtor out of custody.