         type = "Firmware";
         break;
       case U_SPIFFS:
-          type = "SPIFFS";
+        type = "SPIFFS";
         break;
       default: {
           const char buff[] = "Unknown type of reprogramming attempt. Rejecting.";

String connectionDetailsString() {
  return "Wired Ethernet: " + ETH.macAddress() +
         ", IPv4: " + DisplayIP4Address(ETH.localIP()) + ", " +
         ((ETH.fullDuplex()) ? "full" : "half") + " - duplex, " +
         String(ETH.linkSpeed()) + " Mbps.";
}



  ArduinoOTA.onEnd([]() {
    char buff[256];
    snprintf(buff, sizeof(buff), "[%s] OTA re-programming completed. Rebooting.", pname);

    Serial.println(buff);
    client.publish(log_topic, buff);
