Ignore:
Timestamp:
Jun 17, 2009 12:36:36 PM (15 years ago)
Author:
bennylp
Message:

Part of ticket #887:

  • added pj_shutdown() in pjlib-test's test.c
  • refactor main_symbian.cpp (it's not been used for a while)
  • compilation error/warning about initializing pj_str_t struct from non-constant value
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/string.c

    r2394 r2769  
    6666 
    6767#define HELLO_WORLD     "Hello World" 
     68#define HELLO_WORLD_LEN 11 
    6869#define JUST_HELLO      "Hello" 
     70#define JUST_HELLO_LEN  5 
    6971#define UL_VALUE        3456789012UL 
    7072 
     
    291293int string_test(void) 
    292294{ 
    293     const pj_str_t hello_world = { HELLO_WORLD, strlen(HELLO_WORLD) }; 
    294     const pj_str_t just_hello = { JUST_HELLO, strlen(JUST_HELLO) }; 
     295    const pj_str_t hello_world = { HELLO_WORLD, HELLO_WORLD_LEN }; 
     296    const pj_str_t just_hello = { JUST_HELLO, JUST_HELLO_LEN }; 
    295297    pj_str_t s1, s2, s3, s4, s5; 
    296298    enum { RCOUNT = 10, RLEN = 16 }; 
Note: See TracChangeset for help on using the changeset viewer.