application/settings.c

changeset 98
16e84fac48bd
parent 94
7fdf1489b82f
equal deleted inserted replaced
97:5a3d27b8e6b0 98:16e84fac48bd
1104 } 1104 }
1105 case 1: { 1105 case 1: {
1106 return repo->url.value.ptr; 1106 return repo->url.value.ptr;
1107 } 1107 }
1108 case 2: { 1108 case 2: {
1109 return repo->user.value.ptr; 1109 return repo->user.value.ptr ? repo->user.value.ptr : repo->stored_user.value.ptr;
1110 } 1110 }
1111 case 3: { 1111 case 3: {
1112 return repo->full_encryption.value ? "yes" : "no"; 1112 return repo->full_encryption.value ? "yes" : "no";
1113 } 1113 }
1114 } 1114 }

mercurial