X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmvcp%2Fmvcp_util.c;h=826f831ba7625aaad2a926b9b5e09b31832eb6b4;hb=ccecc1a44778593dd6d951e57f23df4c9a67b410;hp=39d79369ded8a2b1e982e62fb1bb575c01ae252c;hpb=dec6007d0bac803200018c23fc9104dbd4360097;p=melted diff --git a/src/mvcp/mvcp_util.c b/src/mvcp/mvcp_util.c index 39d7936..826f831 100644 --- a/src/mvcp/mvcp_util.c +++ b/src/mvcp/mvcp_util.c @@ -71,7 +71,7 @@ char *mvcp_util_strip( char *input, char value ) if ( ptr != NULL ) *ptr = '\0'; if ( input[ 0 ] == value ) - strcpy( input, input + 1 ); + memmove( input, input + 1, strlen( input ) ); } return input; }