- while(fgets(str, OS_MAXSTR, logff[pos].fp) != NULL)
- {
- /* Removing \n at the end of the string */
- if ((q = strrchr(str, '\n')) != NULL)
- {
+ while (fgets(str, OS_MAXSTR, logff[pos].fp) != NULL) {
+ /* Remove \n at the end of the string */
+ if ((q = strrchr(str, '\n')) != NULL) {