Mercurial > hg > xmms-sid
comparison src/xs_stil.c @ 591:acda6c2f10c8
Revert.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 22 Mar 2007 17:11:01 +0000 |
parents | 20cb21c4cb3c |
children | d7389ea52113 |
comparison
equal
deleted
inserted
replaced
590:7d94e9e5dfb7 | 591:acda6c2f10c8 |
---|---|
176 isMulti = FALSE; | 176 isMulti = FALSE; |
177 tmpNode = NULL; | 177 tmpNode = NULL; |
178 subEntry = 0; | 178 subEntry = 0; |
179 | 179 |
180 while (!isError && fgets(inLine, XS_BUF_SIZE, inFile) != NULL) { | 180 while (!isError && fgets(inLine, XS_BUF_SIZE, inFile) != NULL) { |
181 size_t linePos = 0; | 181 size_t linePos = 0, eolPos = 0; |
182 xs_findeol(inLine, &eolPos); | |
183 inLine[eolPos] = 0; | |
182 lineNum++; | 184 lineNum++; |
183 | 185 |
184 switch (tmpLine[0]) { | 186 switch (tmpLine[0]) { |
185 case '/': | 187 case '/': |
186 /* Check if we are already parsing entry */ | 188 /* Check if we are already parsing entry */ |