Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 360829
Collapse All | Expand All

(-)freeradius-server-2.1.10.orig/src/modules/rlm_eap/rlm_eap.c (-12 lines)
Lines 257-275 Link Here
257
			return -1;
257
			return -1;
258
		}
258
		}
259
259
260
		if (pthread_mutex_init(&(inst->handler_mutex), NULL) < 0) {
261
			radlog(L_ERR|L_CONS, "rlm_eap: Failed initializing mutex: %s", strerror(errno));
262
			eap_detach(inst);
263
			return -1;
264
		}
265
	}
260
	}
266
267
	if (pthread_mutex_init(&(inst->session_mutex), NULL) < 0) {
268
		radlog(L_ERR|L_CONS, "rlm_eap: Failed initializing mutex: %s", strerror(errno));
269
		eap_detach(inst);
270
		return -1;
271
	}
272
273
	*instance = inst;
261
	*instance = inst;
274
	return 0;
262
	return 0;
275
}
263
}

Return to bug 360829