freeside/httemplate/search sqlradius.cgi,1.5,1.6
ivan
ivan at pouncequick.420.am
Mon Oct 11 23:08:06 PDT 2004
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory pouncequick:/tmp/cvs-serv7368
Modified Files:
sqlradius.cgi
Log Message:
more info in error message for unknown export type, fix test for sqlradius_withdomain export, woo!
Index: sqlradius.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/sqlradius.cgi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- sqlradius.cgi 6 Oct 2004 13:41:49 -0000 1.5
+++ sqlradius.cgi 12 Oct 2004 06:08:03 -0000 1.6
@@ -64,7 +64,7 @@
$svc_acct = $user2svc_acct{$user};
} else {
my %search = ();
- if ( $part_export->exporrtype eq 'sqlradius_withdomain' ) {
+ if ( $part_export->exporttype eq 'sqlradius_withdomain' ) {
my $domain;
if ( $user =~ /^([^@]+)\@([^@]+)$/ ) {
$search{'username'} = $1;
@@ -82,7 +82,8 @@
} elsif ( $part_export->exporttype eq 'sqlradius' ) {
$search{'username'} = $user;
} else {
- die "guru meditation #420";
+ die 'unknown export type '. $part_export->exporttype.
+ " for $part_export\n";
}
if ( keys %search ) {
my @svc_acct =
More information about the freeside-commits
mailing list