I think the salaries match and they're both expiring.
Why not do it? We need good shooting and Stojakovic may be a hasbeen but he can still shoot. He's barely playing anymore on New Orleans (he got a DNP: CD in his last game) and it wouldn't hurt to trade our own garbage for a guy like Peja who can help us in spot minutes. Plus maybe a mentor for Danilo? Who knows..but it's a low risk, high reward trade that I would make.
"Our attitude toward life determines life's attitude towards us." - Earl Nightingale