fix: return values from dl_links_all had swapped params (#1440)

Caught by @jbau in code review.