]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
One more ThisCell simplification (oo, look at the pretty bikeshed).
authorRuss Allbery <rra@debian.org>
Tue, 21 Nov 2006 00:06:57 +0000 (00:06 +0000)
committerRuss Allbery <rra@debian.org>
Tue, 21 Nov 2006 00:06:57 +0000 (00:06 +0000)
src/auth/cellconfig.c

index c7877a3f9f84e9050abfed36318405d8d0031bff..9749e85917967acbcd32dbbc7c25dcaa28c73d8b 100644 (file)
@@ -489,9 +489,6 @@ GetCellUnix(struct afsconf_dir *adir)
     rc = fgets(tbuffer, 256, fp);
     fclose(fp);
 
-    p = strchr(tbuffer, '\n');
-    if (p)
-       *p = '\0';
     while (*tbuffer != '\0' && isspace(*tbuffer))
         tbuffer++;
     p = tbuffer + 1;