Mercurial > pidgin.yaz
comparison src/proxy.c @ 10613:351449bb5a74
[gaim-migrate @ 12072]
sf bug #1143938, from Torrey McMahon
Functions declared as returning void should not
attempt to return stuff, silly goose.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 20 Feb 2005 20:03:11 +0000 |
parents | e06da39b467c |
children | 4ab7dec04c38 |
comparison
equal
deleted
inserted
replaced
10612:f0fd35985cb0 | 10613:351449bb5a74 |
---|---|
1413 switch (cmdbuf[0]) { | 1413 switch (cmdbuf[0]) { |
1414 case 0x00: | 1414 case 0x00: |
1415 /* Did auth work? */ | 1415 /* Did auth work? */ |
1416 if (buf[0] == 0x00) { | 1416 if (buf[0] == 0x00) { |
1417 /* Success */ | 1417 /* Success */ |
1418 return s5_sendconnect(phb, source); | 1418 s5_sendconnect(phb, source); |
1419 return; | |
1419 } else { | 1420 } else { |
1420 /* Failure */ | 1421 /* Failure */ |
1421 gaim_debug_warning("proxy", "socks5 CHAP authentication " | 1422 gaim_debug_warning("proxy", "socks5 CHAP authentication " |
1422 "failed. Disconnecting..."); | 1423 "failed. Disconnecting..."); |
1423 close(source); | 1424 close(source); |