- if (buf[0] == '1') while(serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
- extract_token(username, buf, 0, '|', sizeof username);
+ if (buf[0] == '1') while(len = serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
+ Name = (char*) malloc(len + 1);
+ len = extract_token(Name, buf, 0, '|', len + 1);
+ Put(List, Name, len, Name, NULL);
+
+ }
+ SortByHashKey(List);
+ it = GetNewHashPos();
+ while (GetNextHashPos(List, it, &len, &Name, (void**)&Namee)) {