[or-cvs] and remove now-extraneous function
arma at seul.org
arma at seul.org
Wed Mar 15 19:17:48 UTC 2006
Update of /home2/or/cvsroot/tor/src/common
In directory moria:/home/arma/work/onion/cvs/tor/src/common
Modified Files:
util.c util.h
Log Message:
and remove now-extraneous function
Index: util.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/util.c,v
retrieving revision 1.251
retrieving revision 1.252
diff -u -p -d -r1.251 -r1.252
--- util.c 11 Mar 2006 02:21:29 -0000 1.251
+++ util.c 15 Mar 2006 19:17:46 -0000 1.252
@@ -329,17 +329,6 @@ tor_strupper(char *s)
}
}
-int
-tor_strisprint(const char *s)
-{
- while (*s) {
- if (!TOR_ISPRINT(*s))
- return 0;
- s++;
- }
- return 1;
-}
-
/* Compares the first strlen(s2) characters of s1 with s2. Returns as for
* strcmp.
*/
Index: util.h
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/util.h,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -p -d -r1.156 -r1.157
--- util.h 13 Mar 2006 00:25:36 -0000 1.156
+++ util.h 15 Mar 2006 19:17:46 -0000 1.157
@@ -90,7 +90,6 @@ extern int dmalloc_free(const char *file
#define HEX_CHARACTERS "0123456789ABCDEFabcdef"
void tor_strlower(char *s);
void tor_strupper(char *s);
-int tor_strisprint(const char *s);
int strcmpstart(const char *s1, const char *s2);
int strcasecmpstart(const char *s1, const char *s2);
int strcmpend(const char *s1, const char *s2);
More information about the tor-commits
mailing list