From 5566dddad1048851520dbe2b0821b668678bd8b1 Mon Sep 17 00:00:00 2001 From: gardners Date: Thu, 6 Oct 2011 09:06:20 +1030 Subject: [PATCH] Added some extra debugging for stray HLR record creation. --- hlrdata.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hlrdata.c b/hlrdata.c index a471f05b..3b806b5b 100644 --- a/hlrdata.c +++ b/hlrdata.c @@ -179,6 +179,8 @@ int createHlr(char *did,char *sid) { int i; int record_offset=0; + if (debug) fprintf(stderr,"Asked to create a new HLR record\n"); + /* Generate random SID */ for(i=1;i<64;i++) sid[i]=hexdigit[random()&0xf]; sid[64]=0; /* But make sure first digit is non-zero as required by the overlay mesh */