[debug] Change DEBUGPC statements to contain \n (Andreas Eversberg)
Some debug outputs now correctly use end-of-line characters.
diff --git a/src/gsm_04_08.c b/src/gsm_04_08.c
index 368b2f4..d585aae 100644
--- a/src/gsm_04_08.c
+++ b/src/gsm_04_08.c
@@ -565,7 +565,7 @@
mi_to_string(mi_string, sizeof(mi_string), lu->mi, lu->mi_len);
- DEBUGP(DMM, "LUPDREQ: mi_type=0x%02x MI(%s) type=%s ", mi_type, mi_string,
+ DEBUGP(DMM, "LUPDREQ: mi_type=0x%02x MI(%s) type=%s\n", mi_type, mi_string,
lupd_name(lu->type));
allocate_loc_updating_req(lchan);
@@ -839,10 +839,10 @@
case GSM_MI_TYPE_IMEI:
case GSM_MI_TYPE_IMEISV:
/* no sim card... FIXME: what to do ? */
- fprintf(stderr, "Unimplemented mobile identity type\n");
+ DEBUGPC(DMM, "unimplemented mobile identity type\n");
break;
default:
- fprintf(stderr, "Unknown mobile identity type\n");
+ DEBUGPC(DMM, "unknown mobile identity type\n");
break;
}