aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/data/v310/teampage.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-14 20:23:27 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-14 20:23:27 +0200
commit9dd71fa32e13120c324a4cfb40a9c5c5534207e8 (patch)
treec4ce2ab85dbc2f3b4eded6f2321f230b694f3ff0 /phpBB/phpbb/db/migration/data/v310/teampage.php
parent0c4b53e2f1ea14dcdc82d2e2abac1ba96e4669ee (diff)
downloadforums-9dd71fa32e13120c324a4cfb40a9c5c5534207e8.tar
forums-9dd71fa32e13120c324a4cfb40a9c5c5534207e8.tar.gz
forums-9dd71fa32e13120c324a4cfb40a9c5c5534207e8.tar.bz2
forums-9dd71fa32e13120c324a4cfb40a9c5c5534207e8.tar.xz
forums-9dd71fa32e13120c324a4cfb40a9c5c5534207e8.zip
[ticket/11224] Fix the blank line after ?>
PHPBB3-11224
Diffstat (limited to 'phpBB/phpbb/db/migration/data/v310/teampage.php')
0 files changed, 0 insertions, 0 deletions
span='2' class='sha1'>b6872479918dc3d2cb98f6774d79771187ef1ab6 (patch) tree7abd81314af4fc8808845c214a65df18f6aa2bb0 /perl-install parentaff0f40d008cefbd84d6cd1d0bde61247f8a0be8 (diff)downloaddrakx-b6872479918dc3d2cb98f6774d79771187ef1ab6.tar
drakx-b6872479918dc3d2cb98f6774d79771187ef1ab6.tar.gz
drakx-b6872479918dc3d2cb98f6774d79771187ef1ab6.tar.bz2
drakx-b6872479918dc3d2cb98f6774d79771187ef1ab6.tar.xz
drakx-b6872479918dc3d2cb98f6774d79771187ef1ab6.zip
regexp cleanup (bis)
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakroam4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam
index 8d6f640a0..e46de2454 100755
--- a/perl-install/standalone/drakroam
+++ b/perl-install/standalone/drakroam
@@ -59,9 +59,9 @@ my %available_roaming_daemons = (
my ($config) = @_;
each_index {
/^#/ || /^\n/ and next; #ignore comments and blank lines
- if (/([^ \t]+)([ \t]+)(.*)/) {
+ if (/^(\S+)\s+(.*)$/) {
my ($essid, $mode, $channel, $key, $dhcp);
- my $command = $3;
+ my $command = $2;
# setup new network entry
$essid = $1;
($mode) = $command =~ /mode\s([^\s;]+)/;