joyent/smartos-live — pull request #87 by Licenser (2012-05-01 13:31:27+00:00)
Title: fixed a problem with DSadm and multople sources.

The variable scope caused dsadm to not use a fresh body string when fetching sources from multiple servers - the second server would still see the body from the first, causing malformed JSON. Moving the variable body in a more inner scope fixed that.
Also when multiple hosts where provided the decoded path got mixed up with not matching IP's/hostnames.