~ubuntu-branches/ubuntu/wily/nss-pam-ldapd/wily

« back to all changes in this revision

Viewing changes to nslcd/rpc.c

  • Committer: Package Import Robot
  • Author(s): Arthur de Jong
  • Date: 2012-04-22 22:00:00 UTC
  • mto: (14.2.3)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: package-import@ubuntu.com-20120422220000-625may1hsbh8l2z5
Tags: upstream-0.8.7
ImportĀ upstreamĀ versionĀ 0.8.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
  if (name==NULL)
125
125
    name=aliases[0];
126
126
  /* check case of returned rpc entry */
127
 
  if ((reqname!=NULL)&&(strcmp(reqname,name)!=0))
 
127
  if ((reqname!=NULL)&&(STR_CMP(reqname,name)!=0))
128
128
  {
129
 
    for (i=0;(aliases[i]!=NULL)&&(strcmp(reqname,aliases[i])!=0);i++)
 
129
    for (i=0;(aliases[i]!=NULL)&&(STR_CMP(reqname,aliases[i])!=0);i++)
130
130
      /* nothing here */ ;
131
131
    if (aliases[i]==NULL)
132
132
      return 0; /* neither the name nor any of the aliases matched */