mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-22 02:12:10 +03:00
Add LOG() to warn_user() and die(). Full implementation still needed.
svn path=/trunk/netsurf/; revision=11121
This commit is contained in:
parent
873fa857a7
commit
5b754b8b1f
@ -22,16 +22,19 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "desktop/cookies.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/messages.h"
|
||||
#include "utils/utils.h"
|
||||
#include "utils/url.h"
|
||||
|
||||
void warn_user(const char *warning, const char *detail)
|
||||
{
|
||||
LOG(("%s %s", warning, detail));
|
||||
}
|
||||
|
||||
void die(const char *error)
|
||||
{
|
||||
LOG(("%s", error));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user