@@ -2076,7 +2076,7 @@ strncat(ouinameuserpath, ouiname, PATH_MAX -1);
2076
2076
fprintf (stdout , "start downloading oui from https://standards-oui.ieee.org to: %s\n" , ouinameuserpath );
2077
2077
if ((fhouitmp = tmpfile ()) == NULL )
2078
2078
{
2079
- fprintf (stderr , "failed to create temporary download file\n" );
2079
+ fprintf (stderr , "\nfailed to create temporary download file\n" );
2080
2080
return ;
2081
2081
}
2082
2082
hnd = curl_easy_init ();
@@ -2088,13 +2088,13 @@ ret = curl_easy_perform(hnd);
2088
2088
curl_easy_cleanup (hnd );
2089
2089
if (ret != 0 )
2090
2090
{
2091
- fprintf (stderr , "download not successful\n" );
2091
+ fprintf (stderr , "\ndownload not successful\n" );
2092
2092
return ;
2093
2093
}
2094
2094
rewind (fhouitmp );
2095
2095
if ((fhoui = fopen (ouinameuserpath , "w" )) == NULL )
2096
2096
{
2097
- fprintf (stderr , "failed to create %s\n" , ouiname );
2097
+ fprintf (stderr , "\nfailed to create %s\n" , ouiname );
2098
2098
return ;
2099
2099
}
2100
2100
while (!feof (fhouitmp ))
@@ -2103,7 +2103,7 @@ while (!feof(fhouitmp))
2103
2103
if (bread > 0 ) fwrite (ouibuff , 1 , bread , fhoui );
2104
2104
}
2105
2105
fclose (fhoui );
2106
- fprintf (stdout , "download finished\n" );
2106
+ fprintf (stdout , "\ndownload finished\n" );
2107
2107
return ;
2108
2108
}
2109
2109
/*===========================================================================*/
0 commit comments