- while(fgets(str, OS_MAXSTR - 2, logff[pos].fp) != NULL)
- {
- /* Getting the last occurence of \n */
- if ((p = strrchr(str, '\n')) != NULL)
- {
+ while (fgets(str, OS_MAXSTR - 2, logff[pos].fp) != NULL) {
+ /* Get the last occurrence of \n */
+ if ((p = strrchr(str, '\n')) != NULL) {