From: <ow...@us...> - 2008-08-31 14:34:19
|
Revision: 1757 http://ipcop.svn.sourceforge.net/ipcop/?rev=1757&view=rev Author: owes Date: 2008-08-31 14:34:29 +0000 (Sun, 31 Aug 2008) Log Message: ----------- apply CodingStyle Modified Paths: -------------- ipcop/trunk/html/cgi-bin/dial.cgi Modified: ipcop/trunk/html/cgi-bin/dial.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/dial.cgi 2008-08-31 14:33:37 UTC (rev 1756) +++ ipcop/trunk/html/cgi-bin/dial.cgi 2008-08-31 14:34:29 UTC (rev 1757) @@ -19,17 +19,19 @@ require '/var/ipcop/lang.pl'; require '/var/ipcop/header.pl'; -my %cgiparams=(); +my %cgiparams = (); $cgiparams{'ACTION'} = ''; &General::getcgihash(\%cgiparams); if ($cgiparams{'ACTION'} eq $Lang::tr{'dial'}) { - system('/etc/rc.d/rc.red','start') == 0 - or &General::log("Dial failed: $?"); } + system('/etc/rc.d/rc.red', 'start') == 0 + or &General::log("Dial failed: $?"); +} elsif ($cgiparams{'ACTION'} eq $Lang::tr{'hangup'}) { - system('/etc/rc.d/rc.red','stop') == 0 - or &General::log("Hangup failed: $?"); } + system('/etc/rc.d/rc.red', 'stop') == 0 + or &General::log("Hangup failed: $?"); +} sleep 1; print "Status: 302 Moved\nLocation: /cgi-bin/index.cgi\n\n"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |