switch (ch) {
case 'a':
newprompt("Enter host name: ", buf, 50);
- striplt(buf);
+ string_trim(buf);
if (!IsEmptyStr(buf)) {
++num_recs;
if (num_recs == 1) {
if (buf[i] == '#')
buf[i] = 0;
}
- striplt(buf);
+ string_trim(buf);
if (!IsEmptyStr(buf)) {
fprintf(changefp, "%s|%s\n", entrytype, buf);
}