/[xlog]/xlog/src/dxcc.c
ViewVC logotype

Diff of /xlog/src/dxcc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by pa4tu, Mon Nov 25 20:12:27 2002 UTC revision 1.19 by pa4tu, Mon Nov 25 20:38:46 2002 UTC
# Line 291  readxlogdata (void) Line 291  readxlogdata (void)
291              break;              break;
292            buf[ichar++] = ch;            buf[ichar++] = ch;
293          }          }
       if (ch == EOF)  
         break;  
294        buf[ichar] = '\0';        buf[ichar] = '\0';
295        ichar = 0;        ichar = 0;
296        ch = 0;        ch = 0;
297    
298        /* ignore empty lines and comments */        /* ignore empty lines and comments */
299        if ((g_strncasecmp(buf, "#", 1) != 0) &&        if ((g_strncasecmp(buf, "#", 1) != 0) &&
300          (g_strncasecmp(buf, "\n", 1) != 0))          (g_strncasecmp(buf, "\n", 1) != 0))
# Line 322  readxlogdata (void) Line 321  readxlogdata (void)
321          }          }
322          g_strfreev (split);          g_strfreev (split);
323        }        }
324    
325          if (ch == EOF) break;
326      }      }
327    
328    g_free (dat_location);    g_free (dat_location);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26