mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-07-20 17:59:03 +00:00
Fix compiler warning wih gcc < 4.
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@211 bc163920-b10d-0410-b2c5-a5491ca2ceef
This commit is contained in:
parent
f7e3964acd
commit
20a16dc78b
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
* is stored in basicauth.
|
||||
*/
|
||||
char *basicauth(char *user, char *pass) {
|
||||
char b64str[80]; /* Buffer to hold the proxies basic authentication data */
|
||||
char *b64str = malloc(80);
|
||||
|
||||
int len = strlen( user ) + strlen( pass ) + 2;
|
||||
char *p = (char *) malloc( len );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue