From 48227fdfe1c2a0cac3da474735bd607ddee971b4 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 9 Nov 2009 05:08:59 +0000 Subject: [PATCH] eliminate setting an unnecessary null character --- libtransmission/utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libtransmission/utils.c b/libtransmission/utils.c index d9a946eab..0e40e1c5e 100644 --- a/libtransmission/utils.c +++ b/libtransmission/utils.c @@ -785,8 +785,6 @@ tr_strstrip( char * str ) while( len && isspace( str[len - 1] ) ) --len; - str[len] = '\0'; - for( pos = 0; pos < len && isspace( str[pos] ); ) ++pos;