00:01:52 ok then erricone :) 09:58:25 What is the preferable way to copy a string in C? asprintf(&rpc_user, "%s", optarg); or rpc_user = strndup(optarg, MAX_DATA_SIZE); 10:00:59 Ben Klemens author of »21st Century C« recommends asprintf. 10:03:00 But the readability deteriorates to my opinion.