[trunk] Fix what looks like a copy/paste error
Update issue 186
This commit is contained in:
parent
8f58b776b0
commit
e71749428c
|
@ -73,15 +73,15 @@ static int get_file_format(const char *filename) {
|
||||||
sample error callback expecting a FILE* client object
|
sample error callback expecting a FILE* client object
|
||||||
*/
|
*/
|
||||||
static void error_callback(const char *msg, void *client_data) {
|
static void error_callback(const char *msg, void *client_data) {
|
||||||
FILE *stream = (FILE*)client_data;
|
(void)client_data;
|
||||||
fprintf(stream, "[ERROR] %s", msg);
|
fprintf(stdout, "[ERROR] %s", msg);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
sample warning callback expecting a FILE* client object
|
sample warning callback expecting a FILE* client object
|
||||||
*/
|
*/
|
||||||
static void warning_callback(const char *msg, void *client_data) {
|
static void warning_callback(const char *msg, void *client_data) {
|
||||||
FILE *stream = (FILE*)client_data;
|
(void)client_data;
|
||||||
fprintf(stream, "[WARNING] %s", msg);
|
fprintf(stdout, "[WARNING] %s", msg);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
sample debug callback expecting no client object
|
sample debug callback expecting no client object
|
||||||
|
|
Loading…
Reference in New Issue