- /* If it returns < 0, we will already have alerted. */
- if(c_read_file(file_name, buf, c_sum) < 0)
- {
- return(0);
- }
-
-
- if(strcmp(c_sum, buf+6) != 0)
- {
- char alert_msg[OS_MAXSTR +1];
- alert_msg[OS_MAXSTR] = '\0';
- #ifdef WIN32
- snprintf(alert_msg, 912, "%s %s", c_sum, file_name);
- #else
- char *fullalert = NULL;
- if(buf[5] == 's' || buf[5] == 'n')
- {
- fullalert = seechanges_addfile(file_name);
- if(fullalert)
- {
+ if (strcmp(c_sum, buf + 6) != 0) {
+ char alert_msg[OS_MAXSTR + 1];
+
+ alert_msg[OS_MAXSTR] = '\0';
+
+ #ifdef WIN32
+ snprintf(alert_msg, 912, "%s %s", c_sum, file_name);
+ #else
+ char *fullalert = NULL;
+
+ if (buf[5] == 's' || buf[5] == 'n') {
+ fullalert = seechanges_addfile(file_name);
+ if (fullalert) {