Skip to content

Commit

Permalink
better code style
Browse files Browse the repository at this point in the history
  • Loading branch information
yylyyl committed Sep 20, 2015
1 parent ec724db commit d8c39e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,15 +457,15 @@ static int pdu_parse_number(char ** pdu, size_t * pdu_length, unsigned digits, i
{
char digit;
if(*toa == NUMBER_TYPE_INTERNATIONAL)
{
*number++ = '+';
// BEGIN oioki proposed patch 2013-07-24
if(*toa == NUMBER_TYPE_ALPHANUMERIC)
}
else if(*toa == NUMBER_TYPE_ALPHANUMERIC)
{
for(; syms > 0; syms --, *pdu += 1, *pdu_length -= 1)
for(; syms > 0; syms--, *pdu += 1, *pdu_length -= 1)
*number++ = pdu[0][0];
return *pdu - begin;
}
// END oioki proposed patch 2013-07-24
for(; syms > 0; syms -= 2, *pdu += 2, *pdu_length -= 2)
{
digit = pdu_code2digit(pdu[0][1]);
Expand Down

0 comments on commit d8c39e3

Please sign in to comment.