projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8116473
)
Fix warning
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 27 Jul 2011 20:24:58 +0000
(13:24 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 27 Jul 2011 20:24:58 +0000
(13:24 -0700)
webmin/webmin-lib.pl
patch
|
blob
|
history
diff --git
a/webmin/webmin-lib.pl
b/webmin/webmin-lib.pl
index
4f79c7b
..
7b85a27
100755
(executable)
--- a/
webmin/webmin-lib.pl
+++ b/
webmin/webmin-lib.pl
@@
-764,7
+764,7
@@
sub get_miniserv_sockets
{
my @sockets;
push(@sockets, [ $_[0]->{'bind'} || "*", $_[0]->{'port'} ]);
-foreach my $s (split(/\s+/, $_[0]->{'sockets'})) {
+foreach my $s (split(/\s+/, $_[0]->{'sockets'}
|| ""
)) {
if ($s =~ /^(\d+)$/) {
# Just listen on another port on the main IP
push(@sockets, [ $sockets[0]->[0], $s ]);