[Codestriker-commits] CVS update: codestriker/bin CodestrikerClient.pm
Brought to you by:
sits
|
From: <si...@us...> - 2004-11-03 21:52:38
|
User: sits
Date: 04/11/03 13:52:31
Modified: bin CodestrikerClient.pm
Log:
Updated so error message displays return string.
Index: CodestrikerClient.pm
===================================================================
RCS file: /cvsroot/codestriker/codestriker/bin/CodestrikerClient.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CodestrikerClient.pm 3 Nov 2004 20:48:33 -0000 1.2
+++ CodestrikerClient.pm 3 Nov 2004 21:52:30 -0000 1.3
@@ -66,7 +66,7 @@
# Indicate if the operation was successful.
my $response_content = $response->content;
my $rc = $response_content =~ /Topic URL: \<A HREF=\"(.*)\"/i;
- print STDERR "Failed to create topic, response: $content\n" if $rc == 0;
+ print STDERR "Failed to create topic, response: $response_content\n" if $rc == 0;
return $rc ? $1 : undef;
}
|