Rawk/Android-Virtual-Input-for-Linux — pull request #1 by Rawk (2013-04-17 18:36:34+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.