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:19:54 +0000

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

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.51&r2=1.52

Patches:
Index: watch.c
===================================================================
RCS file: /cvsroot/cvs/ccvs/src/watch.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- watch.c     17 Sep 2008 17:13:52 -0000      1.51
+++ watch.c     17 Sep 2008 17:19:54 -0000      1.52
@@ -259,12 +259,13 @@
     int set_default = the_args.setting_default;
     int dir_check = 0;
 
-    while ( !set_default && dir_check < the_args.num_dirs )
+    while (!set_default && dir_check < the_args.num_dirs)
     {
        /* If we are recursing, then just see if the first part of update_dir 
-          matches any of the specified directories. Otherwise, it must be an 
exact
-          match. */
-       if ( the_args.local )
+        * matches any of the specified directories.  Otherwise, it must be an
+        * exact match.
+        */
+       if (the_args.local)
            set_default = STREQ (update_dir, the_args.dirs[dir_check]);
        else 
            set_default = STRNEQ (update_dir, the_args.dirs[dir_check],
@@ -278,6 +279,7 @@
 }
 
 
+
 static int
 watch_addremove (int argc, char **argv)
 {




reply via email to

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