INN commit: branches/2.4/scripts (innmail.in)

INN Commit Russ_Allbery at isc.org
Sun Jan 18 14:05:48 UTC 2009


    Date: Sunday, January 18, 2009 @ 06:05:48
  Author: iulius
Revision: 8295

Fix a check for the definition of $opt_s (if it was "0", innmail
sent the warning that there was no subject).

Modified:
  branches/2.4/scripts/innmail.in

------------+
 innmail.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: innmail.in
===================================================================
--- innmail.in	2009-01-18 14:03:54 UTC (rev 8294)
+++ innmail.in	2009-01-18 14:05:48 UTC (rev 8295)
@@ -29,7 +29,7 @@
 
 die $usage if $opt_h ;
 
-if ( !$opt_s ) {
+if ( !defined($opt_s) ) {
     warn "No subject given. Hope that's ok\n" ;
     $opt_s = "NO SUBJECT" ;
 } else {




More information about the inn-committers mailing list