* ParsePref() was returning if it encountered a blank line in the preferences data...
[citadel.git] / webcit / preferences.c
index af164ca46dfb9553e6baee33020923a89fe1472c..ac4fb3c483b4099e547591fe2f00c62059aa6954 100644 (file)
@@ -151,8 +151,8 @@ void ParsePref(HashList **List, StrBuf *ReadBuf)
        Preference *Data = NULL;
        Preference *LastData = NULL;
                                
-       while (!Done && StrBuf_ServGetln(ReadBuf))
-       {
+       while (!Done) {
+               StrBuf_ServGetln(ReadBuf);
                if ( (StrLength(ReadBuf)==3) && 
                     !strcmp(ChrPtr(ReadBuf), "000")) {
                        Done = 1;