[ic] minor bug in UserDB.pm, formatting error?

Peter peter at pajamian.dhs.org
Tue Nov 30 09:05:08 EST 2004


Just something I noticed when looking through the source to help figure 
out how something works...

Around line 730 of UserDB.pm there is the following block of code:
                 else {
                         ::logDebug( errmsg(
                                                         "cannot set 
unknown userdb field $_ to: %s",
                                                         $_,
                                                         $val,
                                                 )
                                         );
                 }


shouldn't that be either:
                 else {
                         ::logDebug( errmsg(
                                                         "cannot set 
unknown userdb field $_ to: %s",
                                                         $val,
                                                 )
                                         );
                 }


...or:

                 else {
                         ::logDebug( errmsg(
                                                         "cannot set 
unknown userdb field %s to: %s",
                                                         $_,
                                                         $val,
                                                 )
                                         );
                 }


Peter


More information about the interchange-users mailing list