~ubuntu-branches/ubuntu/precise/eglibc/precise-201308281639

« back to all changes in this revision

Viewing changes to nis/nss_nisplus/nisplus-ethers.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-02-08 01:58:09 UTC
  • mfrom: (1.5.3) (288.1.12 precise)
  • Revision ID: package-import@ubuntu.com-20120208015809-ulscst7uteq3e22z
Tags: 2.15~pre6-0ubuntu10
Merge from Debian (r5151, 2.13-26).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 1997,1998,2000-2003,2005,2006,2007
 
1
/* Copyright (C) 1997,1998,2000-2003,2005,2006,2007,2011
2
2
   Free Software Foundation, Inc.
3
3
   This file is part of the GNU C Library.
4
4
   Contributed by Thorsten Kukuk <kukuk@suse.de>, 1997.
40
40
 
41
41
 
42
42
#define NISENTRYVAL(idx, col, res) \
43
 
        (NIS_RES_OBJECT (res)[idx].zo_data.objdata_u.en_data.en_cols.en_cols_val[col].ec_value.ec_value_val)
 
43
        (NIS_RES_OBJECT (res)[idx].zo_data.objdata_u.en_data.en_cols.en_cols_val[col].ec_value.ec_value_val)
44
44
 
45
45
#define NISENTRYLEN(idx, col, res) \
46
 
        (NIS_RES_OBJECT (res)[idx].zo_data.objdata_u.en_data.en_cols.en_cols_val[col].ec_value.ec_value_len)
 
46
        (NIS_RES_OBJECT (res)[idx].zo_data.objdata_u.en_data.en_cols.en_cols_val[col].ec_value.ec_value_len)
47
47
 
48
48
static int
49
49
_nss_nisplus_parse_etherent (nis_result *result, struct etherent *ether,
136
136
 
137
137
  __libc_lock_unlock (lock);
138
138
 
139
 
  return NSS_STATUS_SUCCESS;
 
139
  return status;
140
140
}
141
141
 
142
142
enum nss_status