projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the whom program, which relayed on post(8) functionality.
[mmh]
/
sbr
/
ssequal.c
diff --git
a/sbr/ssequal.c
b/sbr/ssequal.c
index
5ccf28f
..
e7a12ad
100644
(file)
--- a/
sbr/ssequal.c
+++ b/
sbr/ssequal.c
@@
-1,4
+1,3
@@
-
/*
* ssequal.c -- check if a string is a substring of another
*
/*
* ssequal.c -- check if a string is a substring of another
*
@@
-25,13
+24,13
@@
int
ssequal (char *s1, char *s2)
{
int
ssequal (char *s1, char *s2)
{
- if (!s1)
- s1 = "";
- if (!s2)
- s2 = "";
+ if (!s1)
+ s1 = "";
+ if (!s2)
+ s2 = "";
- while (*s1)
- if (*s1++ != *s2++)
- return 0;
- return 1;
+ while (*s1)
+ if (*s1++ != *s2++)
+ return 0;
+ return 1;
}
}