From 56315f02bb88f0595d369c2d80f6556922758f62 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Mon, 21 Dec 2009 01:18:44 +0100 Subject: Fix typo s/memcpy/memcmp in trau_frame.c --- openbsc/src/trau_mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc') diff --git a/openbsc/src/trau_mux.c b/openbsc/src/trau_mux.c index 477ea21e5..9930751a5 100644 --- a/openbsc/src/trau_mux.c +++ b/openbsc/src/trau_mux.c @@ -185,7 +185,7 @@ int trau_mux_input(struct gsm_e1_subslot *src_e1_ss, return -EINVAL; if (!ue->callref) return -EINVAL; - if (memcpy(tf.c_bits, c_bits_check, sizeof(c_bits_check))) + if (memcmp(tf.c_bits, c_bits_check, sizeof(c_bits_check))) DEBUGPC(DMUX, "illegal trau (C1-C5) %s\n", hexdump(tf.c_bits, sizeof(c_bits_check))); msg = msgb_alloc(sizeof(struct gsm_data_frame) + 33, -- cgit v1.2.3