/[xlog]/xlog/src/logfile/adif.c
ViewVC logotype

Diff of /xlog/src/logfile/adif.c

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

revision 1.2 by pa4tu, Sat Sep 25 14:44:59 2004 UTC revision 1.3 by pa4tu, Tue Oct 19 14:29:32 2004 UTC
# Line 89  static gint adif_qso_foreach Line 89  static gint adif_qso_foreach
89                  if (line[0] != '\n') /* ignore empty lines */                  if (line[0] != '\n') /* ignore empty lines */
90                          buffer = g_strconcat (buffer, line, 0);                          buffer = g_strconcat (buffer, line, 0);
91    
92                  if (g_strrstr (line, "<EOH>")) /* read past header */                  if (g_strrstr (line, "<EOH>") || g_strrstr (line, "<eoh>")) /* read past header */
93                          buffer = g_strdup ("");                          buffer = g_strdup ("");
94    
95                  if (g_strrstr (line, "<EOR>")) /* read past one record */                  if (g_strrstr (line, "<EOR>") || g_strrstr (line, "<eor>")) /* read past one record */
96                  {                  {
97                          /* let's do this simple, check if we have multiple '<' */                          /* let's do this simple, check if we have multiple '<' */
98                          adifline = g_strsplit (buffer, "<", 0);                          adifline = g_strsplit (buffer, "<", 0);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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