if we dont know how to handle a request, then we need to bail, not execute uninitialized memory

SVN revision: 22144
This commit is contained in:
Mike Frysinger 2006-04-15 19:55:45 +00:00
parent 1d4e19dbdc
commit 35fed46644
1 changed files with 3 additions and 0 deletions

View File

@ -801,7 +801,10 @@ do_shot(void *data)
script_buf, view_buf, opt.do_ftp ? "" : ")&", NULL);
}
else
{
printf("don't know how to handle grabber %s\n", opt.grabber);
return;
}
system(sys);