fix obvious coding error from yesterday's fix

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-04-03 21:25:45 +00:00
parent b4f4e23000
commit 6ae8903fd8

View File

@@ -608,7 +608,7 @@ static void strip_coloring(char *str)
{
char *src, *dest, *end;
if (!src)
if (!str)
return;
/* find the first potential escape sequence in the string */