cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] ccvs/src watch.c


From: Derek Robert Price
Subject: [Cvs-cvs] ccvs/src watch.c
Date: Wed, 17 Sep 2008 17:37:24 +0000

CVSROOT:        /cvsroot/cvs
Module name:    ccvs
Changes by:     Derek Robert Price <dprice>     08/09/17 17:37:24

Modified files:
        src            : watch.c 

Log message:
        * watch.c: Some cleanup.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ccvs/src/watch.c?cvsroot=cvs&r1=1.53&r2=1.54

Patches:
Index: watch.c
===================================================================
RCS file: /cvsroot/cvs/ccvs/src/watch.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- watch.c     17 Sep 2008 17:28:01 -0000      1.53
+++ watch.c     17 Sep 2008 17:37:24 -0000      1.54
@@ -363,13 +363,12 @@
     for (arg_index=0; arg_index<argc; ++arg_index)
     {
        TRACE (TRACE_FUNCTION, "\t%s", argv[arg_index]);
-       if (isdir (argv[arg_index]) )
+       if (isdir (argv[arg_index]))
        {
            if (the_args.num_dirs >= max_dirs)
            {
                max_dirs *= 2;
-               the_args.dirs = (const char ** )xrealloc ((void *)the_args.dirs,
-                                                          max_dirs);
+               the_args.dirs = xrealloc ((void *)the_args.dirs, max_dirs);
            }
            the_args.dirs[the_args.num_dirs++] = argv[arg_index];
        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]