Browse Source

Merge pull request #222 from jl777/dev

remove spurious \n from dex returns
win-cross
jl777 8 years ago
committed by GitHub
parent
commit
7d95285d81
  1. 2
      iguana/dpow/dpow_network.c

2
iguana/dpow/dpow_network.c

@ -697,6 +697,8 @@ M = 1;
free(retstrs[i]);
retstrs[0] = clonestr(DEX_LESSTHAN_RETSTR);
}
if ( retstrs[0] != 0 && retstrs[0][strlen(retstrs[0])-1] == '\n' )
retstrs[0][strlen(retstrs[0])-1] = 0;
return(retstrs[0]);
}

Loading…
Cancel
Save