> -----Original Message----- > From: Oded Arbel > > in some #define and use that?? Then changing the length is > > done in one place > > only. > > it is - in the smpp_pdu.def :
hm. my bad - this is not what you meant. doing as you suggested is more correct, but currently that number is only used in two lines of code (one right after the other) and I can't see how we can extract if from the pdu.def, so using it in a define has the single advantage of moving the defining point from halfway down the file to the top of the file (or to the header). -- Oded Arbel m-Wise mobile solutions [EMAIL PROTECTED] +972-9-9581711 (116) +972-67-340014 ::.. If you got the words it does not mean you got the knowledge.
