rem: reply_file=open_reply_pipe(response_file); if (reply_file==0) { LOG(L_ERR, "ERROR: ul_rm: file not opened\n"); return -1; }
context: int static ul_rm( FILE *pipe, char *response_file ){	char table[MAX_TABLE];	char user[MAX_USER];	int tlen, ulen;	FILE *reply_file;	udomain_t* d;	str aor, t;	if (!read_line(table, MAX_TABLE, pipe, &tlen) || tlen==0) {		fifo_reply(response_file, 			"ERROR: ul_rm: table name expected\n");		LOG(L_ERR, "ERROR: ul_rm: table name expected\n");		return -1;	}	if (!read_line(user, MAX_TABLE, pipe, &ulen) || ulen==0) {		fifo_reply(response_file, 			"ERROR: ul_rm: user name expected\n");		LOG(L_ERR, "ERROR: ul_rm: user name expected\n");		return -1;	}	aor.s = user;	aor.len = strlen(user);	t.s = table;	t.len = strlen(table);	find_domain(&t, &d);	LOG(L_INFO, "INFO: deleting user-loc (%s,%s)\n",	    table, user );	reply_file=open_reply_pipe(response_file);	if (reply_file==0) {		LOG(L_ERR, "ERROR: ul_rm: file not opened\n");		return -1;	}	if (d) {		lock_udomain(d);		if (delete_urecord(d, &aor) < 0) {			LOG(L_ERR, "ul_rm(): Error while deleting user %s\n", user);			fprintf(reply_file, "Error while deleting user (%s, %s)\n", table, user);			unlock_udomain(d);			fclose(reply_file);			return -1;		}		unlock_udomain(d);		fprintf(reply_file, "User (%s, %s) deleted\n", table, user);		fclose(reply_file);		return 1;	} else {		fprintf(reply_file, "Table (%s) not found\n", table);		fclose(reply_file);		return -1;	}}