1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Powerpc64 fix.

This commit is contained in:
Werner Koch 2008-03-25 10:45:59 +00:00
parent 3886468f75
commit 2c045c4fca
34 changed files with 5441 additions and 5660 deletions

View file

@ -536,9 +536,9 @@ build_attrs(LDAPMod ***modlist,char *line)
while(*tok)
if(tok[0]=='%' && tok[1] && tok[2])
{
if((userid[i]=hextobyte(&tok[1]))==-1)
userid[i]='?';
int c;
userid[i] = (c=hextobyte(&tok[1])) == -1 ? '?' : c;
i++;
tok+=3;
}