Fixed segfault in connect.c

Segfault occured when a command being processed received less arguments
then it's max number of space seperated arguments