*err = WTAP_ERR_INTERNAL;
*err_info = msg;
} else {
- g_warning("%s", msg);
+ ws_warning("%s", msg);
g_free(msg);
}
}
wth->subtype_read = wslua_filehandler_read;
}
else {
- g_warning("Lua file format module lacks a read routine");
+ ws_warning("Lua file format module lacks a read routine");
return WTAP_OPEN_NOT_MINE;
}
wth->subtype_seek_read = wslua_filehandler_seek_read;
}
else {
- g_warning("Lua file format module lacks a seek-read routine");
+ ws_warning("Lua file format module lacks a seek-read routine");
return WTAP_OPEN_NOT_MINE;
}
wdh->subtype_write = wslua_filehandler_dump;
}
else {
- g_warning("FileHandler was not set with a write function, even though write_open() returned true");
+ ws_warning("FileHandler was not set with a write function, even though write_open() returned true");
return 0;
}