Sulan's way seems fine (with parenthesis around sev==SEV_SUCCESS).

these success codes are only used by DC++ when initiating transfers, to
send the referrer string; that is quite important, so please verify
before checking in that referrers and connections aren't altered.

-- 
Successful status code is badly formatted for STA command
https://bugs.launchpad.net/bugs/395464
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.

Status in DC++: Confirmed

Bug description:
>From the protocol :
Status code in the form "xyy" where x specifies severity and yy the specific 
error code.
0        Success (used for confirming commands), error code must be "00",

This solution is from StrongDC++ so if its accepted, it must be credited to 
BigMuscle.



_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to