[dev] Fwd: nic patch

Eric Rostetter eric.rostetter@physics.utexas.edu
Thu, 11 Jul 2002 22:54:24 -0500


I don't know why this was mailed to me directly, but he appears to be
currect about the problem/fix.

Eric

----- Forwarded message from dredd@megacity.org -----
    Date: Thu, 11 Jul 2002 21:14:16 -0400
    From: "Derek J. Balling" <dredd@megacity.org>
Reply-To: "Derek J. Balling" <dredd@megacity.org>
 Subject: nic patch
      To: Eric Rostetter <eric.rostetter@physics.utexas.edu>

Typo in the mailaddrcheck code that was sending invalid MAIL 
commands... it might get butchered by word-wrap but the change is 
fairly obvious.

D

# diff -u mailaddrcheck.php.orig mailaddrcheck.php
--- mailaddrcheck.php.orig      Thu Jul 11 21:10:53 2002
+++ mailaddrcheck.php   Thu Jul 11 21:11:06 2002
@@ -63,7 +63,7 @@
          $result .= "$response<br />\n";

          $result .= "MAIL FROM: &lt;" . $_SERVER["SERVER_ADMIN"] . 
"&gt;<br />\n";
-        fputs($fp, "MAIL FROM:< " . $_SERVER["SERVER_ADMIN"] . ">\r\n");
+        fputs($fp, "MAIL FROM: <" . $_SERVER["SERVER_ADMIN"] . ">\r\n");
          $response = fgets($fp, 4096);
          $result .= "$response<br />\n";



-- 
--
+------------------------------+--------------------------------+
| Derek J. Balling             | "You can get more with a kind  |
| dredd@megacity.org           |  word and a two-by-four, than  |
| www.megacity.org/blog/       |  you can with just a kind      |
|                              |  word."               - Marcus |
+---------------------------------------------------------------+


----- End forwarded message -----


-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

"TAD (Technology Attachment Disorder) is an unshakable, impractical devotion
to a brand, platform, product line, or programming language. It's relatively
harmless among the rank and file, but when management is afflicted the damage
can be measured in dollars. It's also contagious -- someone with sufficient
political clout can infect an entire organization."

--"Enterprise Strategies" columnist Tom Yager.