Explorar el Código

Add a missing break in a switch statement

Nick Mathewson hace 14 años
padre
commit
da83da9199
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/or/connection.c

+ 1 - 0
src/or/connection.c

@@ -345,6 +345,7 @@ connection_init(time_t now, connection_t *conn, int type, int socket_family)
       break;
     CASE_ANY_LISTENER_TYPE:
       conn->magic = LISTENER_CONNECTION_MAGIC;
+      break;
     default:
       conn->magic = BASE_CONNECTION_MAGIC;
       break;