Transport through a one-dimensional quantum dot