diff options
author | Richard Basch <probe@mit.edu> | 1993-11-19 10:28:44 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-11-19 10:28:44 +0000 |
commit | 99680eed923c48f9f232f947685e7bcff8e94028 (patch) | |
tree | 610326756b24e8d82a797b8278b97c5dcddbd57c /clients/zlocate | |
parent | 90286b13704c00240d89eb5aee705b594d9c6dd1 (diff) |
Changed index to strchr [ANSI]
Diffstat (limited to 'clients/zlocate')
-rw-r--r-- | clients/zlocate/zlocate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/zlocate/zlocate.c b/clients/zlocate/zlocate.c index c219d06..c117cb6 100644 --- a/clients/zlocate/zlocate.c +++ b/clients/zlocate/zlocate.c @@ -128,7 +128,7 @@ main(argc,argv) if (argv[loc][0] == '-') continue; (void) strcpy(user,argv[loc]); - if (!index(user,'@')) { + if (!strchr(user,'@')) { (void) strcat(user,"@"); (void) strcat(user,ZGetRealm()); } |