s/qmail  3.3.23
Next generation secure email transport
str_diff.c
Go to the documentation of this file.
1 #include "str.h"
2 
3 int str_diff(register char *s,register char *t)
4 {
5  register char x;
6 
7  for (;;) {
8  x = *s; if (x != *t) break; if (!x) break; ++s; ++t;
9  x = *s; if (x != *t) break; if (!x) break; ++s; ++t;
10  x = *s; if (x != *t) break; if (!x) break; ++s; ++t;
11  x = *s; if (x != *t) break; if (!x) break; ++s; ++t;
12  }
13  return ((int)(unsigned int)(unsigned char) x)
14  - ((int)(unsigned int)(unsigned char) *t);
15 }
int str_diff(register char *s, register char *t)
Definition: str_diff.c:3
unsigned x
Definition: matchup.c:36