No need to pass a debug string to check_exclude() anymore.
authorWayne Davison <wayned@samba.org>
Thu, 22 Apr 2004 09:58:21 +0000 (09:58 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 22 Apr 2004 09:58:21 +0000 (09:58 +0000)
util.c

diff --git a/util.c b/util.c
index 5c3f26c..be639e4 100644 (file)
--- a/util.c
+++ b/util.c
@@ -476,8 +476,7 @@ static int exclude_server_path(char *arg)
        if (server_exclude_list.head) {
                for (s = arg; (s = strchr(s, '/')) != NULL; ) {
                        *s = '\0';
        if (server_exclude_list.head) {
                for (s = arg; (s = strchr(s, '/')) != NULL; ) {
                        *s = '\0';
-                       if (check_exclude(&server_exclude_list, arg, 1,
-                           "server pattern")) {
+                       if (check_exclude(&server_exclude_list, arg, 1)) {
                                /* We must leave arg truncated! */
                                return 1;
                        }
                                /* We must leave arg truncated! */
                                return 1;
                        }