|
Lines 1063-1069
Link Here
|
| 1063 |
/* Have now read in the data. Next get the message to be printed. */ |
1063 |
/* Have now read in the data. Next get the message to be printed. */ |
| 1064 |
if (*argv) { |
1064 |
if (*argv) { |
| 1065 |
for(i=0, j=0; i < argc; i++) |
1065 |
for(i=0, j=0; i < argc; i++) |
| 1066 |
j += strlen(argv[i]) + (i != 0); |
1066 |
j += strlen(argv[i]) + 1; |
| 1067 |
if ((message = malloc(j)) == NULL) |
1067 |
if ((message = malloc(j)) == NULL) |
| 1068 |
err(1, "malloc"); |
1068 |
err(1, "malloc"); |
| 1069 |
strcpy(message, *argv); |
1069 |
strcpy(message, *argv); |