Seamen's witness fees.

There shall be paid to each seaman or other person who is sent to the United States from any foreign port, station, sea, or ocean, by any United States minister, chargé d'affaires, consul, captain, or commander, to give testimony in any criminal case depending in any court of the United States, such compensation, exclusive of subsistence and transportation, as such court may adjudge to be proper, not exceeding one dollar for each day necessarily employed in such voyage, and in arriving at the place of examination or trial. In fixing such compensation, the court shall take into consideration the condition of said seaman or witness, and whether his voyage has been broken up, to his injury, by his being sent to the United States. When such seaman or person is transported in an armed vessel of the United States no charge for subsistence or transportation shall be allowed. When he is transported in any other vessel, the compensation for his transportation and subsistence, not exceeding in any case fifty cents a day, may be fixed by the court, and shall be paid to the captain of said vessel accordingly. (R. S. 851.)