Mercurial > noffle
comparison src/server.c @ 115:3b4db42990e0 noffle
[svn] Approved: header, group check before post, all external servers.
author | bears |
---|---|
date | Sat, 24 Jun 2000 21:47:40 +0100 |
parents | 46062d2f9d20 |
children | f50cc311e29a |
comparison
equal
deleted
inserted
replaced
114:af7bea7515b2 | 115:3b4db42990e0 |
---|---|
1 /* | 1 /* |
2 server.c | 2 server.c |
3 | 3 |
4 $Id: server.c 145 2000-06-13 06:38:18Z bears $ | 4 $Id: server.c 159 2000-06-24 20:47:40Z bears $ |
5 */ | 5 */ |
6 | 6 |
7 #if HAVE_CONFIG_H | 7 #if HAVE_CONFIG_H |
8 #include <config.h> | 8 #include <config.h> |
9 #endif | 9 #endif |
975 while ( ! err && getTxtLn( line, &err ) ) | 975 while ( ! err && getTxtLn( line, &err ) ) |
976 DynStr_appLn( s, line ); | 976 DynStr_appLn( s, line ); |
977 | 977 |
978 if ( ! err | 978 if ( ! err |
979 && Post_open( DynStr_str( s ) ) | 979 && Post_open( DynStr_str( s ) ) |
980 && Post_post( FALSE ) ) | 980 && Post_post() ) |
981 { | 981 { |
982 putStat( STAT_POST_OK, "Message posted" ); | 982 putStat( STAT_POST_OK, "Message posted" ); |
983 if ( Online_true() ) | 983 if ( Online_true() ) |
984 postArts(); | 984 postArts(); |
985 } | 985 } |