/[libconf]/libconf/perl-Libconf/templates/samba_template.pm
ViewVC logotype

Diff of /libconf/perl-Libconf/templates/samba_template.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by dams, Thu Jul 24 14:44:14 2003 UTC revision 1.12 by dams, Sat Aug 2 12:34:13 2003 UTC
# Line 436  $data{samba} = { Line 436  $data{samba} = {
436  };  };
437    
438  $data_mapping{samba} = {  $data_mapping{samba} = {
439                          BOOLEAN => sub { my ($value) = @_; $value ? 'true' : 'false'; },                          BOOLEAN => sub {
440                                my ($value) = @_;
441                                $value eq 'true' and return 1;
442                                $value eq 'false' and return 0;
443                                $value ? 'true' : 'false';
444                            },
445                         };                         };
446    
447  1  1

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26