~ubuntu-branches/debian/sid/filezilla/sid

« back to all changes in this revision

Viewing changes to src/putty/proxy.c

  • Committer: Bazaar Package Importer
  • Author(s): Adam Cécile (Le_Vert)
  • Date: 2008-07-05 21:00:24 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080705210024-mvzp21zlyheschi6
Tags: 3.0.11.1-1
* wxWidgets 2.8 just entered unstable ! Upload to unstable.
* New upstream release.
* Bump Standards-Version to 3.8.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1369
1369
                eo += 4;
1370
1370
            }
1371
1371
            else if (strnicmp(cfg->proxy_telnet_command + eo,
1372
 
                              "proxyhost", 4) == 0) {
 
1372
                              "proxyhost", 9) == 0) {
1373
1373
                int phlen = strlen(cfg->proxy_host);
1374
1374
                ENSURE(phlen);
1375
1375
                memcpy(ret+retlen, cfg->proxy_host, phlen);
1377
1377
                eo += 9;
1378
1378
            }
1379
1379
            else if (strnicmp(cfg->proxy_telnet_command + eo,
1380
 
                              "proxyport", 4) == 0) {
 
1380
                              "proxyport", 9) == 0) {
1381
1381
                char pport[50];
1382
1382
                int pplen;
1383
1383
                sprintf(pport, "%d", cfg->proxy_port);
1384
 
                pplen = strlen(cfg->proxy_host);
 
1384
                pplen = strlen(pport);
1385
1385
                ENSURE(pplen);
1386
1386
                memcpy(ret+retlen, pport, pplen);
1387
1387
                retlen += pplen;