diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-07-02 21:55:21 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-07-02 21:55:21 +0800 |
commit | 563d4f34e73443bde2cbc64800908244a3186d78 (patch) | |
tree | fae5c20b7f828788652398a0d7be5428607fd7a4 /util/udnnews.pl | |
parent | cd8f55fc4d83e06cb8a1dd17dbb120fb2601d16d (diff) | |
download | pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.tar pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.tar.gz pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.tar.bz2 pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.tar.lz pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.tar.xz pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.tar.zst pttbbs-563d4f34e73443bde2cbc64800908244a3186d78.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/udnnews.pl')
-rw-r--r-- | util/udnnews.pl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/udnnews.pl b/util/udnnews.pl index ba0fc072..99d690c3 100644 --- a/util/udnnews.pl +++ b/util/udnnews.pl @@ -105,11 +105,11 @@ sub postout { my($param) = @_; return if( !$param->{title} ); -# open FH, ">/tmp/postout.$$"; -# print FH $param->{content}; -print "$param->{content}"; -# close FH; + open FH, ">/tmp/postout.$$"; + print FH $param->{content}; +#print "$param->{content}"; + close FH; -# system("bin/post '$param->{brdname}' '$param->{title}' '$param->{owner}' /tmp/postout.$$"); -# unlink "/tmp/postout.$$"; + system("bin/post '$param->{brdname}' '$param->{title}' '$param->{owner}' /tmp/postout.$$"); + unlink "/tmp/postout.$$"; } |