From: Michael Jerris Date: Wed, 14 Feb 2007 19:31:58 +0000 (+0000) Subject: thats not a real fd, it's a switch_socket_t * X-Git-Tag: v1.0-beta1~1101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc330804fff8de8279ed49104b6b93302d1230d7;p=thirdparty%2Ffreeswitch.git thats not a real fd, it's a switch_socket_t * git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4267 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_woomera/mod_woomera.c b/src/mod/endpoints/mod_woomera/mod_woomera.c index ec396a62ce..b068882396 100644 --- a/src/mod/endpoints/mod_woomera/mod_woomera.c +++ b/src/mod/endpoints/mod_woomera/mod_woomera.c @@ -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; }