]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
thats not a real fd, it's a switch_socket_t *
authorMichael Jerris <mike@jerris.com>
Wed, 14 Feb 2007 19:31:58 +0000 (19:31 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 14 Feb 2007 19:31:58 +0000 (19:31 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4267 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_woomera/mod_woomera.c

index ec396a62cec3ec4fad698c7299e5e8dd3bc44c0f..b06888239674364ffd3dccb8b19a8605db8a33f1 100644 (file)
@@ -646,7 +646,7 @@ static int woomera_message_parse(switch_socket_t *fd, woomera_message * wmsg, in
 
        memset(wmsg, 0, sizeof(woomera_message));
 
-       if (fd < 0) {
+       if (!fd) {
                return -1;
        }