Changeset 19799 for lang

Show
Ignore:
Timestamp:
09/24/08 09:36:06 (6 years ago)
Author:
mattn
Message:

no need to use WSAStartup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/c/libmemcached-win32/example/test.c

    r19728 r19799  
    1717        int flags = 0; 
    1818 
    19         WSADATA wsaData; 
    20         if (WSAStartup(MAKEWORD(2, 0), &wsaData) != 0) { 
    21                 return -1; 
    22         } 
    23         memc = memcached_create(NULL);; 
     19        memc = memcached_create(NULL); 
    2420        rc = memcached_server_add(memc, SERVER_NAME, SERVER_PORT); 
    2521        printf("server add: %s\n", memcached_strerror(memc, rc));