Broadfoot got to work rebuilding the fortifications on the afternoon of their arrival. Breaches in the curtain were filled, parapets and loopholes constructed, and ten artillery pieces were raised on to the bastions and prepared for firing. Foraging parties were sent out to gather food and fodder, and obstacles blocking the line of fire from the walls began to be demolished. The repairs were made just in time.