Parent Directory
|
Revision Log
|
Patch
revision 16 by dpavlin, Tue Sep 22 13:32:04 2009 UTC | revision 17 by dpavlin, Tue Sep 22 13:40:02 2009 UTC | |
---|---|---|
# | Line 71 our $cache; | Line 71 our $cache; |
71 | our $connected; | our $connected; |
72 | ||
73 | sub send_nodes { | sub send_nodes { |
74 | my $content = pop @_ if $#_ > 0; # no content with just one argument! | my $content = $#_ > 0 ? pop @_ : ''; # no content with just one argument! |
75 | my $header = length($content); | my $header = length($content); |
76 | $header .= ' ' . join(' ', @_) if @_; | $header .= ' ' . join(' ', @_) if @_; |
77 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |