git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8052f22
)
libvideosite: Allow calls to _io without arguments (to print an empty line)
author
Ralf Ertzinger
<ralf@skytale.net>
Tue, 30 Apr 2013 14:04:06 +0000
(16:04 +0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Tue, 30 Apr 2013 14:04:06 +0000
(16:04 +0200)
libvideosite.pm
patch
|
blob
|
history
diff --git
a/libvideosite.pm
b/libvideosite.pm
index
bebc8a5
..
b581e5a
100644
(file)
--- a/
libvideosite.pm
+++ b/
libvideosite.pm
@@
-130,6
+130,8
@@
sub _io {
my @text = @_;
my $format;
+ @text = ('') unless(@text);
+
# This will define the outputprefix once, so we don't have
# do do this every time.
$outputprefix = sprintf("%svideosite: %s",