[nos-bbs] Changing JNOS log file name - Correction

Boudewijn (Bob) Tenty bobtenty at gmail.com
Tue Sep 30 05:31:15 EDT 2014


 >This is around line 1112  in function nos_log(), 5 lines below the 
earlier modification and I modified it to...

 >fprintf (fp, "%.24s", cp);                /* 30Sep2014, Boudewijn 
VE3TOK, added Day Month Year to time stamp */

Not a big deal but I did forget to add an extra space between the data 
stamp and the log entry. This just makes it
better readable. Here is the correction to that line...

fprintf (fp, "%.24s ", cp);                /* 30Sep2014, Boudewijn 
VE3TOK, added Day Month Year to time stamp */



73,

Bob VE3TOK


On 14-09-30 04:33 AM, Boudewijn (Bob) Tenty wrote:
> Your welcome.
>
> The log only contains a time stamp what is a little bit nasty because 
> you have no point of reference
> anymore in the log name or file creation date so I fixed that by 
> adding Day, Month and Year to the time stamp.
>
> Look in main.c for the line..
>
> fprintf (fp, "%9.9s", cp + 11);
>
> This is around line 1112  in function nos_log(), 5 lines below the 
> earlier modification and I modified it to...
>
> fprintf (fp, "%.24s", cp);                /* 30Sep2014, Boudewijn 
> VE3TOK, added Day Month Year to time stamp */
>
> Recompile and a full date stamp will be added to each entry in nos.log
>
> 73,
>
> Bob VE3TOK

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20140930/dbd02759/attachment.html>


More information about the nos-bbs mailing list