mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
@@ -178,7 +178,7 @@ _insert_name_before(struct handle_storage *s, char *name, uint32_t handle, int b
|
|||||||
s->name = n;
|
s->name = n;
|
||||||
} else {
|
} else {
|
||||||
int i;
|
int i;
|
||||||
for (i=s->name_count;i>=before;i--) {
|
for (i=s->name_count;i>before;i--) {
|
||||||
s->name[i] = s->name[i-1];
|
s->name[i] = s->name[i-1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user