projects
/
am-utils-6.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
199059d
)
spacing
author
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 9 Oct 2005 23:37:12 +0000
(23:37 +0000)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 9 Oct 2005 23:37:12 +0000
(23:37 +0000)
amd/info_nis.c
patch
|
blob
|
history
diff --git
a/amd/info_nis.c
b/amd/info_nis.c
index fb93f3a7661106d9e84c387a3a5f3e9d3949e060..af2dd8ec1f715e0d486c77f63494f160e5f74fc2 100644
(file)
--- a/
amd/info_nis.c
+++ b/
amd/info_nis.c
@@
-307,10
+307,9
@@
nis_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp)
char *oldval = *pval;
*pval = sun_entry2amd(key, oldval);
/* We always need to free the output of the yp_match call. */
- XFREE(oldval);
- if (*pval == NULL) {
- return -1; /* sun2amd parser error */
- }
+ XFREE(oldval);
+ if (*pval == NULL)
+ return -1; /* sun2amd parser error */
}
/*