line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::OSCAR::Callbacks; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
1
|
|
|
1
|
|
34
|
$Net::OSCAR::Callbacks::VERSION = '1.928'; |
4
|
|
|
|
|
|
|
} |
5
|
1
|
|
|
1
|
|
10
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
2950
|
|
6
|
1
|
|
|
1
|
|
20
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
62
|
|
7
|
1
|
|
|
1
|
|
6
|
use vars qw($connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
406
|
|
8
|
|
|
|
|
|
|
sub { |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
$session->{__old_loglevel} = $session->loglevel(); |
11
|
|
|
|
|
|
|
$session->loglevel(10); |
12
|
|
|
|
|
|
|
$connection->log_print(OSCAR_DBG_WARN, "Server initiated migration. Migration support is experimental. Please tell matthewg\@zevils.com that this happened and whether or not it worked! Include the information below."); |
13
|
|
|
|
|
|
|
$connection->log_print(OSCAR_DBG_WARN, "Migration families sent: ", join(" ", keys %{$connection->{families}})); |
14
|
|
|
|
|
|
|
$connection->proto_send(protobit => "pause_ack", protodata => { |
15
|
|
|
|
|
|
|
families => [keys %{$connection->{families}}] |
16
|
|
|
|
|
|
|
}); |
17
|
|
|
|
|
|
|
$connection->pause(); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
}; |