]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix compiler warning
authorSeven Du <dujinfang@gmail.com>
Tue, 24 Jun 2014 01:10:34 +0000 (09:10 +0800)
committerSeven Du <dujinfang@gmail.com>
Tue, 24 Jun 2014 01:10:34 +0000 (09:10 +0800)
src/mod/event_handlers/mod_erlang_event/ei_helpers.c

index 3c2a128401340d6068bc0991c23627141142f1f4..ecadb765495026cb5b4bcd810da14a1c589b1fd9 100644 (file)
@@ -329,7 +329,7 @@ int ei_decode_string_or_binary(char *buf, int *index, int maxlen, char *dst)
 
 switch_status_t initialise_ei(struct ei_cnode_s *ec)
 {
-       switch_status_t rv;
+       int rv;
        struct sockaddr_in server_addr;
        struct hostent *nodehost;
        char thishostname[EI_MAXHOSTNAMELEN + 1] = "";