gregkh / bti

bash twitter ididocy
GNU General Public License v2.0
162 stars 31 forks source link

oauth_split_url_parameters returns 5 #39

Closed arssivka closed 7 years ago

arssivka commented 7 years ago

I can't login using oauth. I created config file with consumer's keys from README file. Program requested me to enter PIN from url which was printed at line above. After entering pin program do nothing. Debugging step-by-step showed me where program has incorrect behavior. In my case function oauth_split_url_parameters writes into rc value 5 in function parse_osp_reply (line 740), but case for 5 don't exists and program exits, but I had correct responce.

gregkh commented 7 years ago

Ick. Care to make up a patch?

arssivka commented 7 years ago

No problem. I created pull request.

gregkh commented 7 years ago

Thanks for this, should now be resolved.

Jacobtey commented 7 years ago

Hi! What about a new release including this patch to enable distributions to change its packages?