comparison mcabber/src/histolog.c @ 183:c658c131ea10

[/trunk] Changeset 195 by mikael * Fix a small bug (status is uppercase in log files)
author mikael
date Thu, 05 May 2005 15:01:48 +0000
parents cfefae4b6de9
children b5aa2b9c425a
comparison
equal deleted inserted replaced
182:f7b03201877a 183:c658c131ea10
139 timestamp = (unsigned long) atol(&data[3]); 139 timestamp = (unsigned long) atol(&data[3]);
140 len = (unsigned long) atol(&data[14]); 140 len = (unsigned long) atol(&data[14]);
141 141
142 // Some checks 142 // Some checks
143 if (((type == 'M') && (info != 'S' && info != 'R')) || 143 if (((type == 'M') && (info != 'S' && info != 'R')) ||
144 ((type == 'I') && (!strchr("oaifdcn", info)))) { 144 ((type == 'I') && (!strchr("OAIFDCN", info)))) {
145 scr_LogPrint("Error in history file format"); 145 scr_LogPrint("Error in history file format");
146 break; 146 break;
147 } 147 }
148 148
149 while (len--) { 149 while (len--) {