Skip to content

Commit

Permalink
Fix uninitialized warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gbarr committed Apr 11, 2001
1 parent e1bdcd1 commit 5825695
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Net/LDAP/Util.pm
Expand Up @@ -315,7 +315,7 @@ sub canonical_dn {
}
}

(length($dn) != pos($dn))
(length($dn) != (pos($dn)||0))
? undef
: join(",",@dn);
}
Expand All @@ -334,7 +334,7 @@ terms as Perl itself.
=for html <hr>
I<$Id: Util.pm,v 1.9 2001/03/08 13:31:45 gbarr Exp $>
I<$Id: Util.pm,v 1.10 2001/04/11 07:49:53 gbarr Exp $>
=cut

Expand Down
2 changes: 1 addition & 1 deletion t/01canon_dn.t
Expand Up @@ -83,7 +83,7 @@ while(my($op,$dn) = splice(@tests,0,2)) {
print "'$dn' failed to parse\n";
}
elsif ($failed = $canon eq $refdn) {
print "'$reforig'\n'$refdn'\n\nmatched\n\n'$dn'\n'$canon'\n";
print "'$refdn'\n\nmatched\n\n'$dn'\n'$canon'\n";
}
}
else {
Expand Down

0 comments on commit 5825695

Please sign in to comment.