piotrzintel/Android-Virtual-Input-for-Linux — pull request #2 by Rawk (2013-04-17 14:34:12+00:00)
Title: Fix bug in setsockopt call with SO_REUSEADDR

Optval wasn't set to a a known value. Set it to true (1), so that it always turns on SO_REUSEADDR.

There is no need to allocate memory for optval.