} fgets(buffer, 100, fp);  while (fgets(buffer, 100, fp) != NULL) { call = strtok(buffer, " \t\n\r"); alias = strtok(NULL, " \t\n\r");  if (strcmp(address, call) == 0 || strcmp(address, alias) == 0) { addrlen = ax25_aton(call, addr); fclose(fp); return (addrlen == -1) ? -1 : sizeof(struct sockaddr_ax25); } }  fclose(fp);  fprintf(stderr, "call: NET/ROM callsign or alias not found\n");  return -1;
static int nr_convert_call(char *address, struct full_sockaddr_ax25 *addr){    char buffer[100], *call, *alias;    FILE *fp;    int addrlen;    for (call = address; *call != '\0'; call++)	*call = toupper(*call);    if ((fp = fopen(PROC_NR_NODES_FILE, "r")) == NULL) {	fprintf(stderr, "call: NET/ROM not included in the kernel\n");	return -1;    }    fgets(buffer, 100, fp);    while (fgets(buffer, 100, fp) != NULL) {	call = strtok(buffer, " \t\n\r");	alias = strtok(NULL, " \t\n\r");	if (strcmp(address, call) == 0 || strcmp(address, alias) == 0) {	    addrlen = ax25_aton(call, addr);	    fclose(fp);	    return (addrlen == -1) ? -1 : sizeof(struct sockaddr_ax25);	}    }    fclose(fp);    fprintf(stderr, "call: NET/ROM callsign or alias not found\n");    return -1;}