Skip to content

Commit 25697a4

Browse files
committed
added some new line
1 parent 4c555f4 commit 25697a4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

hcxhashtool.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -2076,7 +2076,7 @@ strncat(ouinameuserpath, ouiname, PATH_MAX -1);
20762076
fprintf(stdout, "start downloading oui from https://standards-oui.ieee.org to: %s\n", ouinameuserpath);
20772077
if((fhouitmp = tmpfile()) == NULL)
20782078
{
2079-
fprintf(stderr, "failed to create temporary download file\n");
2079+
fprintf(stderr, "\nfailed to create temporary download file\n");
20802080
return;
20812081
}
20822082
hnd = curl_easy_init ();
@@ -2088,13 +2088,13 @@ ret = curl_easy_perform(hnd);
20882088
curl_easy_cleanup(hnd);
20892089
if(ret != 0)
20902090
{
2091-
fprintf(stderr, "download not successful\n");
2091+
fprintf(stderr, "\ndownload not successful\n");
20922092
return;
20932093
}
20942094
rewind(fhouitmp);
20952095
if((fhoui = fopen(ouinameuserpath, "w")) == NULL)
20962096
{
2097-
fprintf(stderr, "failed to create %s\n", ouiname);
2097+
fprintf(stderr, "\nfailed to create %s\n", ouiname);
20982098
return;
20992099
}
21002100
while (!feof(fhouitmp))
@@ -2103,7 +2103,7 @@ while (!feof(fhouitmp))
21032103
if(bread > 0) fwrite(ouibuff, 1, bread, fhoui);
21042104
}
21052105
fclose(fhoui);
2106-
fprintf(stdout, "download finished\n");
2106+
fprintf(stdout, "\ndownload finished\n");
21072107
return;
21082108
}
21092109
/*===========================================================================*/

whoismac.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ ret = curl_easy_perform(hnd);
5050
curl_easy_cleanup(hnd);
5151
if(ret != 0)
5252
{
53-
fprintf(stderr, "download not successful\n");
53+
fprintf(stderr, "\ndownload not successful\n");
5454
exit(EXIT_FAILURE);
5555
}
5656
rewind(fhouitmp);
5757
if((fhoui = fopen(ouiname, "w")) == NULL)
5858
{
59-
fprintf(stderr, "error creating file %s\n", ouiname);
59+
fprintf(stderr, "\nerror creating file %s\n", ouiname);
6060
exit(EXIT_FAILURE);
6161
}
6262
while (!feof(fhouitmp))
@@ -65,7 +65,7 @@ while (!feof(fhouitmp))
6565
if(bread > 0) fwrite(ouibuff, 1, bread, fhoui);
6666
}
6767
fclose(fhoui);
68-
fprintf(stdout, "download finished\n");
68+
fprintf(stdout, "\ndownload finished\n");
6969
return true;
7070
}
7171
/*===========================================================================*/

0 commit comments

Comments
 (0)