1N/A#
pragma ident "%Z%%M% %I% %E% SMI" 1N/A * The contents of this file are subject to the Netscape Public 1N/A * License Version 1.1 (the "License"); you may not use this file 1N/A * except in compliance with the License. You may obtain a copy of 1N/A * Software distributed under the License is distributed on an "AS 1N/A * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 1N/A * implied. See the License for the specific language governing 1N/A * rights and limitations under the License. 1N/A * The Original Code is Mozilla Communicator client code, released 1N/A * The Initial Developer of the Original Code is Netscape 1N/A * Communications Corporation. Portions created by Netscape are 1N/A * Copyright (C) 1998-1999 Netscape Communications Corporation. All 1N/A * Copyright (c) 1993, 1994 Regents of the University of Michigan. 1N/A * All rights reserved. 1N/A * Redistribution and use in source and binary forms are permitted 1N/A * provided that this notice is preserved and that due credit is given 1N/A * to the University of Michigan at Ann Arbor. The name of the University 1N/A * may not be used to endorse or promote products derived from this 1N/A * software without specific prior written permission. This software 1N/A * is provided ``as is'' without express or implied warranty. 1N/A * dsparse.c: parsing routines used by display template and search 1N/A * preference file library routines for LDAP clients. 1N/A if (
plen >
1 && *(p+
1) ==
'\n' ) {
1N/A if (
plen >
1 && *(p+
1) ==
'\r' ) {
1N/A return( 0 );
/* end of file */ 1N/A return( -
1 );
/* fatal error */ 1N/A *t++ =
'\0';
/* end of token */