} if (linebuf[0] == '#') { return wallet_GetLine(fp, line);
wallet_GetLine(FILE * fp, nsAutoString*& line) {  char linebuf[2000];  char* cp = fgets(linebuf, sizeof(linebuf), fp);  if (nsnull == cp) {    return -1;  }  if (linebuf[0] == '#') {    return wallet_GetLine(fp, line);  }  // strip crlf's from the line  int len = strlen(linebuf);  if (0 != len) {    if (('\n' == linebuf[len-1]) || ('\r' == linebuf[len-1])) {      linebuf[--len] = 0;    }  }  if (0 != len) {    if (('\n' == linebuf[len-1]) || ('\r' == linebuf[len-1])) {      linebuf[--len] = 0;    }    }  line = new nsAutoString(linebuf);     return 0;}