EA2D/loggly-cookbook — pull request #2 by littonj (2011-12-30 04:33:57+00:00)
Title: Change string check to cast int != 0 check

The null string check is insufficient due to the potential for an error string in the return. All strings cast to_i =0 and the port should always be a number