It’s tinker’s dam, not damn, to stop the solder from running.
http://www.phrases.org.uk/meanings/tinkers-damn.html