~ubuntu-branches/ubuntu/oneiric/nspr/oneiric-security

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/thrpool_server.c

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-03-24 14:33:41 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100324143341-gf5gsvz81ck1vvp5
Tags: 4.8.4-0ubuntu1
* New upstream release: 4.8.4
* Adjust patches to changed upstream codebase
  - update debian/patches/99_configure.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
#define TCP_SERVER_PORT                         10000
92
92
#define SERVER_MAX_BIND_COUNT           100
93
93
 
 
94
#ifdef WINCE
 
95
char *getcwd(char *buf, size_t size)
 
96
{
 
97
    wchar_t wpath[MAX_PATH];
 
98
    _wgetcwd(wpath, MAX_PATH);
 
99
    WideCharToMultiByte(CP_ACP, 0, wpath, -1, buf, size, 0, 0);
 
100
}
 
101
 
 
102
#define perror(s)
 
103
#endif
 
104
 
94
105
static PRInt32 num_tcp_clients = NUM_TCP_CLIENTS;
95
106
static PRInt32 num_tcp_connections_per_client = NUM_TCP_CONNECTIONS_PER_CLIENT;
96
107
static PRInt32 tcp_mesg_size = TCP_MESG_SIZE;