Replace g_log() calls with ws_log()
[metze/wireshark/wip.git] / epan / wslua / wslua_file_handler.c
index 8b1fc4698a5160755a9f8991bfec8eb266061526..92dd7e267ae135de122413109e492b53d173d824 100644 (file)
@@ -63,7 +63,7 @@ report_error(int *err, gchar **err_info, const char *fmt, ...)
         *err = WTAP_ERR_INTERNAL;
         *err_info = msg;
     } else {
-        g_warning("%s", msg);
+        ws_warning("%s", msg);
         g_free(msg);
     }
 }
@@ -185,7 +185,7 @@ wslua_filehandler_open(wtap *wth, int *err, gchar **err_info)
             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;
         }
 
@@ -193,7 +193,7 @@ wslua_filehandler_open(wtap *wth, int *err, gchar **err_info)
             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;
         }
 
@@ -506,7 +506,7 @@ wslua_filehandler_dump_open(wtap_dumper *wdh, int *err, gchar **err_info)
             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;
         }