Skip to content

Commit

Permalink
is sync_url is null then use registration_url
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Dec 11, 2015
1 parent 0c3ba3c commit 25a02c4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -34,7 +34,7 @@ static void append(SymStringBuilder *sb, char *name, char *value) {

static char * buildUrl(char *action, SymNode *remote, SymNode *local, char *securityToken, char *registrationUrl) {
SymStringBuilder *sb = SymStringBuilder_new();
if (strcmp(remote->syncUrl, "") == 0) {
if (SymStringUtils_isBlank(remote->syncUrl)) {
sb->append(sb, registrationUrl);
} else {
sb->append(sb, remote->syncUrl);
Expand Down

0 comments on commit 25a02c4

Please sign in to comment.