Freeciv-3.3
Loading...
Searching...
No Matches
bugs.c
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13
14#ifdef HAVE_CONFIG_H
15#include <fc_config.h>
16#endif /* HAVE_CONFIG_H */
17
18#include "fc_prehdrs.h"
19
20#include <stdarg.h>
21
22/* utility */
23#include "fcintl.h"
24#include "log.h"
25
26#include "bugs.h"
27
28/********************************************************************/
31void bugreport_request(const char *reason_format, ...)
32{
33 va_list args;
34 char buf[1024];
35
38 buf, sizeof(buf), reason_format, args);
39 va_end(args);
40
41 /* TRANS: No full stop after the URL, could cause confusion. */
42 log_error(_("Please report this message at %s"), BUG_URL);
43}
void bugreport_request(const char *reason_format,...)
Definition bugs.c:31
char * incite_cost
Definition comments.c:76
#define _(String)
Definition fcintl.h:67
void vdo_log(const char *file, const char *function, int line, bool print_from_where, enum log_level level, char *buf, int buflen, const char *message, va_list args)
Definition log.c:403
#define __FC_LINE__
Definition log.h:41
@ LOG_ERROR
Definition log.h:31
#define log_error(message,...)
Definition log.h:104
#define FALSE
Definition support.h:47