mirror of
https://bitbucket.org/ohhara/ohmulticastvideoscanner.git
synced 2025-08-26 18:21:43 +00:00
Cleanup g_print msg.
This commit is contained in:
parent
32b602aad3
commit
15aa054470
@ -120,7 +120,7 @@ static gint _omvs_init_net_devs_info(void) {
|
||||
gint i;
|
||||
|
||||
if (pcap_findalldevs(&alldevs, errbuf) != 0) {
|
||||
g_print("pcap_findalldevs() fail: %s", errbuf);
|
||||
g_print("pcap_findalldevs() fail: %s\n", errbuf);
|
||||
return -1;
|
||||
}
|
||||
dev = alldevs;
|
||||
@ -653,9 +653,12 @@ int main(int argc, char *argv[]) {
|
||||
time = g_get_monotonic_time();
|
||||
m3u_path = g_strdup_printf("%s/omvs_%" G_GUINT64_FORMAT ".m3u", _omvs_outdir,
|
||||
time);
|
||||
if (!_omvs_quiet) {
|
||||
g_print("openning %s\n", m3u_path);
|
||||
}
|
||||
_omvs_m3u_fp = fopen(m3u_path, "w");
|
||||
if (_omvs_m3u_fp == NULL) {
|
||||
g_print("can't create %s", m3u_path);
|
||||
g_print("can't create %s\n", m3u_path);
|
||||
g_free(m3u_path);
|
||||
ret = -7;
|
||||
goto finish_return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user