bitcoin/bitcoin — pull request #4985 by ericshawlinux (2014-09-25 22:43:12+00:00)
Title: Fixed setaccount accepting foreign address

Fixed issue https://github.com/bitcoin/bitcoin/issues/4209 where using setaccount with a foreign address causes the address to be added to your receiving addresses.