]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Huh, I guess that was a socket not a file descriptor
authorAndrew Thompson <andrew@hijacked.us>
Thu, 11 Jun 2009 23:48:08 +0000 (23:48 +0000)
committerAndrew Thompson <andrew@hijacked.us>
Thu, 11 Jun 2009 23:48:08 +0000 (23:48 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13766 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/event_handlers/mod_erlang_event/mod_erlang_event.2008.vcproj
src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c

index 0f56db3d780c54168916ef9afe781c6514bdca15..69ec83c06cfefed7451326e6650a8026a459803a 100644 (file)
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               AdditionalOptions="&quot;C:\cygwin\home\andrew\otp_src_R13B01\lib\erl_interface\obj.debug\win32/ei.lib&quot;"\r
+                               AdditionalOptions="&quot;C:\cygwin\home\andrew\otp_src_R13B01\lib\erl_interface\obj.debug\win32/ei.lib&quot; /NODEFAULTLIB:libcmt"\r
                                RandomizedBaseAddress="1"\r
                                DataExecutionPrevention="0"\r
                        />\r
index eeee969db221d56e0dff4b2cf13d7a2a69791c95..b494b591a588ce317d77094f4df4aa6783d40488 100644 (file)
@@ -1586,7 +1586,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(mod_erlang_event_runtime)
 
        /* cleanup epmd registration */
        ei_unpublish(&ec);
-       close(epmdfd);
+       close_socket(&epmdfd);
 
 init_failed:
        close_socket(&listen_list.sockfd);