An order having been made for tbe plaintiff to file security for costs as a non-resident, with an order to show cause upon tbe return of sucb order, tbe learned judge beld that be could only, in tbe first instance, exact security in tbe amount of $250, and that tbe defendant must make another motion if he wanted increased security. Tbe plaintiff deposited $250 in tbe court as security for costs, instead of giving an undertaking therefor. Subsequently tbe defendant moved for additional security, which motion was granted and from tbe order thereupon entered this appeal is taken.
It is claimed that tbe order appealed from is entirely without jurisdiction because tbe only case in which additional security can be required is one in which an undertaking for costs has been given because by section 3276 of tbe C.ode it is enacted that at any time after tbe allowance of an undertaking tbe court or a judge thereof, upon proof by affidavit that tbe sum specified in tbe undertaking is *175insufficient, must make an order requiring tbe plaintiff to give an additional undertaking. It is, however, clear that the legislature intended this provision to apply to the case of a deposit in lieu of an undertaking, because by the last clause of section 3276, the provisions relating to a deposit contained in section 3272, are made to apply to an order for additional security made pursuant to section 3276.
There is no reason, if the amount deposited is insufficient, that the defendant should be deprived of his right to additional security which he would have, had an undertaking been given. The whole tenor of the section is that the deposit shall take the place of an undertaking and be subject to the same conditions. The order appealed from should be affirmed, with costs.
Beady and Daniels, JJ., concurred.Judgment affirmed with costs.