Post
Topic
Board CPU/GPU Bitcoin mining hardware
Re: DiabloMiner GPU Miner (Long Poll, BFI_INT, async networking, multipool)
by
ellipsis
on 16/07/2011, 22:03:42 UTC
Eh, too much trouble. I see you already fixed the exec java bit for Linux. For the others, replace your !"".equals(String) calls (8 instances) with a call to a method like this:

Code:
protected boolean hasLength(String str) {
    return str != null && str.length() > 0;
}

Your splitting on commas for pool support breaks values with commas in them (e.g., passwords).

Around 831, there should be a null check on getWorkParser.