X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/1b492a97af74c0cb6c9886bce8b777d6bb50798d..bb0fc401cc7633e681e5ba55ae9b2393cc03636a:/client/uart.c

diff --git a/client/uart.c b/client/uart.c
index 4b2fee99..e3a6a57b 100644
--- a/client/uart.c
+++ b/client/uart.c
@@ -370,9 +370,9 @@ serial_port uart_open(const char* pcPortName) {
   memset(&sp->dcb, 0, sizeof(DCB));
   sp->dcb.DCBlength = sizeof(DCB);
   if(!BuildCommDCBA("baud=9600 data=8 parity=N stop=1",&sp->dcb)) {
-    uart_close(sp);
-    return INVALID_SERIAL_PORT;
-  }
+		uart_close(sp);
+		return INVALID_SERIAL_PORT;
+	}
   
   // Update the active serial port
   if(!SetCommState(sp->hPort,&sp->dcb)) {