ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/login.ext
(Generate patch)

Comparing deliantra/server/ext/login.ext (file contents):
Revision 1.51 by root, Sun Jun 10 03:15:17 2007 UTC vs.
Revision 1.53 by root, Mon Jun 11 21:38:13 2007 UTC

1#! perl # MANDATORY 1#! perl # mandatory
2 2
3# login handling 3# login handling
4 4
5use Fcntl; 5use Fcntl;
6use Coro::AIO; 6use Coro::AIO;
7use List::Util qw(min max); 7use List::Util qw(min max);
8
9our %EXT_SETUP;
8 10
9# paranoia function to overwrite a string-in-place 11# paranoia function to overwrite a string-in-place
10sub nuke_str { 12sub nuke_str {
11 substr $_[0], 0, (length $_[0]), "x" x length $_[0] 13 substr $_[0], 0, (length $_[0]), "x" x length $_[0]
12} 14}
612 $pl->destroy; 614 $pl->destroy;
613 } else { 615 } else {
614 my $a_ = $pl->refcnt;#d# 616 my $a_ = $pl->refcnt;#d#
615 my $b_ = $ob->refcnt;#d# 617 my $b_ = $ob->refcnt;#d#
616 618
617 warn "player-scheduler refcnt ", $ob->name, " pp$pl_ref,pc$a_ op$ob_ref,oc$b_\n";#d# 619 warn "player-scheduler refcnt ", $ob->name, " pl $pl_ref ob $ob_ref (C pl $a_ ob $b_)\n";#d#
618 } 620 }
619 } 621 }
620 } 622 }
621 }; 623 };
622 warn $@ if $@; 624 warn $@ if $@;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines