kripken/emscripten — pull request #1778 by ToadKing (2013-11-10 08:40:31+00:00)
Title: nanosleep - don't write to rmtp if it's NULL

rmtp can be NULL, so don't try to write to it if it is.