diff options
Diffstat (limited to 'Ivy.pm')
-rw-r--r-- | Ivy.pm | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1387,9 +1387,10 @@ _EOL_ sub _sendWantedRegexp ($$) { my ($self, $appSock) = @_; + my $connSock = $self->[connSock] ; # on envoie le message "Nom appli" - send ($appSock, sprintf (MSG_FMT, APP_NAME, 0, $self->[appName]), 0) + send ($appSock, sprintf (MSG_FMT, APP_NAME, $connSock->sockport, $self->[appName]), 0) or $self->_removeFileDescriptor ($appSock) ; # on envoie les regexps |