No C99 initialisers, gcc 2.95.3 doesn't like it.
Also make sure getopt.h is included.
This commit is contained in:
parent
de223b51b9
commit
fcbe29bc4c
8 changed files with 57 additions and 63 deletions
|
|
@ -17,7 +17,7 @@
|
|||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
$Id: protocol.c,v 1.28.4.144 2003/07/29 10:50:15 guus Exp $
|
||||
$Id: protocol.c,v 1.28.4.145 2003/07/30 11:50:45 guus Exp $
|
||||
*/
|
||||
|
||||
#include "system.h"
|
||||
|
|
@ -209,13 +209,12 @@ void exit_requests(void)
|
|||
|
||||
bool seen_request(char *request)
|
||||
{
|
||||
past_request_t p = {
|
||||
.request = request,
|
||||
};
|
||||
past_request_t *new;
|
||||
past_request_t *new, p = {0};
|
||||
|
||||
cp();
|
||||
|
||||
p.request = request;
|
||||
|
||||
if(avl_search(past_request_tree, &p)) {
|
||||
ifdebug(SCARY_THINGS) logger(LOG_DEBUG, _("Already seen request"));
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue