Was I being naughty?

My guy friend asked me a question and I answered him but my answer could be interpreted in a "dirty/naught" way, so I stopped and laughed at what I was saying when I realized that. He then proceeded to ask me the question again, and winked at me. Why did he do that? Did he actually think that I was intentionally trying to say something dirty/naughty or did he realize that I did not mean it.

Was I being naughty?
Post Opinion