Explorar el Código

modules/cdp: fixed earlier commit set cdp session to 0 when free-ed

Richard Good hace 10 años
padre
commit
2b2e81b831
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      modules/cdp/authstatemachine.c

+ 1 - 1
modules/cdp/authstatemachine.c

@@ -248,7 +248,7 @@ inline int auth_client_statefull_sm_process(cdp_session_t* s, int event, AAAMess
                 case AUTH_EV_SERVICE_TERMINATED:
                 case AUTH_EV_SESSION_GRACE_TIMEOUT:
                     cdp_session_cleanup(s, NULL);
-		    s==0;
+		    s=0;
                     break;
 
                 default: