WiFly slow

Hello,

I hired some one to help me with some code for a arduino ether with a wifly shield.
But now it is running dramaticly slow
the person i hired was not a programmer but a copy paster... i found out lately

O so here is the code, can someone help me to find out what is wrong?

case WIFI: /

  if(init_wifi_status == true)						
  {
    Serial.println("Connecting via Wi-Fi...");
    WiFlySerial WiFly(16,17);
    if (WiFly.openConnection(server,4000) == true) 
    {  
      byte aux = 0;
      Serial.println("Wi-Fi Connected!!");
      WiFly.print(getLine);
      for (aux = 0; aux < 5; aux++) //send info
      {//rfid_code[aux] = 5;//for testing
        if (rfid_code[aux] < 16) 
        {
          WiFly.print("0");
        }

        WiFly.print(rfid_code[aux], HEX);
      }

      WiFly.println(" HTTP/1.0"); 
      WiFly.println("Host: essent.qusax.com");
      WiFly.println("User-Agent: arduino-ethernet");
      WiFly.println("Connection: close");
      WiFly.println();
      WiFly.closeConnection();
      return_val = true;  ///we have sent the data
    }
    else 
    {
      Serial.println("Wifi Connection failed.. retrying via Ethernet");
      return_val = false; //sorry no data sent
    }
  }

  break;

What is defined as "slow"?

Code snippets are rarely where the problem is.