equal
deleted
inserted
replaced
1027 |
1027 |
1028 if (alias) { |
1028 if (alias) { |
1029 // find slave with the given alias |
1029 // find slave with the given alias |
1030 for (; slave < master->slaves + master->slave_count; |
1030 for (; slave < master->slaves + master->slave_count; |
1031 slave++) { |
1031 slave++) { |
1032 if (slave->sii.alias != alias) |
1032 if (slave->sii.alias == alias) |
1033 continue; |
1033 break; |
1034 } |
1034 } |
1035 if (slave == master->slaves + master->slave_count) |
1035 if (slave == master->slaves + master->slave_count) |
1036 return NULL; |
1036 return NULL; |
1037 } |
1037 } |
1038 |
1038 |