Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
csync2.19006
0001-comparison-of-peer-names-provided-via-comm...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-comparison-of-peer-names-provided-via-command-line-s.patch of Package csync2.19006
From f2edd34d1c4885d0c5bedb756db85aad624f72b7 Mon Sep 17 00:00:00 2001 From: Thomas Abraham <tabraham@suse.com> Date: Tue, 6 Mar 2018 15:12:23 -0500 Subject: [PATCH] comparison of peer names provided via command line should not be case sensitive --- update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.c b/update.c index 3283207..ad31fc8 100644 --- a/update.c +++ b/update.c @@ -838,7 +838,7 @@ void csync_update(const char ** patlist, int patnum, int recursive, int dry_run) int i=0, pnamelen = strlen(t->value); while (active_peerlist[i]) { - if ( !strncmp(active_peerlist+i, t->value, pnamelen) && + if ( !strncasecmp(active_peerlist+i, t->value, pnamelen) && (active_peerlist[i+pnamelen] == ',' || !active_peerlist[i+pnamelen]) ) goto found_asactive; while (active_peerlist[i]) -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor