diff options
author | Doug Barton <dougb@FreeBSD.org> | 2011-08-02 05:18:50 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2011-08-02 05:18:50 +0000 |
commit | 0842d663b7cfb84b478ec937fc1dbc640ceae92b (patch) | |
tree | 4385ddab756952a705f233916d0536e76fe9cc58 /lib/isc/unix/dir.c | |
parent | 6a50a75ead6b2f11f0321914c033e8c8670cbb60 (diff) |
Notes
Diffstat (limited to 'lib/isc/unix/dir.c')
-rw-r--r-- | lib/isc/unix/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/isc/unix/dir.c b/lib/isc/unix/dir.c index 8053c42980ef..12f8eb0c6337 100644 --- a/lib/isc/unix/dir.c +++ b/lib/isc/unix/dir.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005, 2007, 2009, 2011 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dir.c,v 1.25.332.3 2009-02-16 23:47:15 tbox Exp $ */ +/* $Id: dir.c,v 1.25.332.5 2011-03-12 04:57:32 tbox Exp $ */ /*! \file * \author Principal Authors: DCL */ @@ -79,7 +79,7 @@ isc_dir_open(isc_dir_t *dir, const char *dirname) { if (dir->dirname < p && *(p - 1) != '/') *p++ = '/'; *p++ = '*'; - *p++ = '\0'; + *p = '\0'; /* * Open stream. |