From: Nick Mathewson Date: Wed, 22 Dec 2004 02:46:28 +0000 (+0000) Subject: Fix a bug in last patch; and keep my name out of the assert() call too. X-Git-Tag: debian-version-0.0.9.2-1~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c79c4200f43680da35849c03fe7fd7705a400d01;p=thirdparty%2Ftor.git Fix a bug in last patch; and keep my name out of the assert() call too. svn:r3200 --- diff --git a/src/common/compat.c b/src/common/compat.c index 1b00c6395d..bad94c3eea 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -122,18 +122,19 @@ int tor_vsnprintf(char *str, size_t size, const char *format, va_list args) const char * _tor_fix_source_file(const char *fname) { - const char *cp1, *cp2; + const char *cp1, *cp2, *r; cp1 = strrchr(fname, '/'); cp2 = strrchr(fname, '\\'); if (cp1 && cp2) { - return (cp1