Hello all, It is probably just me being stupid - I am fairly new to C and pjsip so go easy on me - but I'm having some problems with the pj_strcat function. The following file just segfaults, can anyone tell me why?: #include <pjsua.h> int main(int argc, char *argv[]) { const pj_str_t sip_user = pj_str(argv[1]); pj_str_t tmp = {"sip:",4}; pj_strcat(&tmp, &sip_user); printf("STRING: %s ***", tmp); return 0; } BR Steven