Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
b5c9c54
)
THRIFT-324: replace strlen with length
author
T Jake Luciani
<jake@apache.org>
Mon, 2 Mar 2009 23:47:20 +0000
(23:47 +0000)
committer
T Jake Luciani
<jake@apache.org>
Mon, 2 Mar 2009 23:47:20 +0000
(23:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@749478
13f79535
-47bb-0310-9956-
ffa450edef68
lib/perl/lib/Thrift/Socket.pm
patch
|
blob
|
history
diff --git
a/lib/perl/lib/Thrift/Socket.pm
b/lib/perl/lib/Thrift/Socket.pm
index
732f35a
..
96f544e
100644
(file)
--- a/
lib/perl/lib/Thrift/Socket.pm
+++ b/
lib/perl/lib/Thrift/Socket.pm
@@
-241,7
+241,7
@@
sub write
my $got = $sock->send($buf);
if (!defined $got || $got == 0 ) {
- die new Thrift::TException('TSocket: Could not write '.
strlen
($buf).' bytes '.
+ die new Thrift::TException('TSocket: Could not write '.
length
($buf).' bytes '.
$self->{host}.':'.$self->{host});
}