pt_filter.c | 63 /* Make tempbuff at least as large as buff. */ 64 char *tempbuff = malloc(n); local in function:fill_cmd 65 if (tempbuff == NULL) 68 strncpy(tempbuff, cmdv[0], n - 1); 69 tempbuff[n - 1] = '\0'; 71 strncat(tempbuff, " ", n - strlen(tempbuff)); 72 strncat(tempbuff, cmdv[i], n - strlen(tempbuff)); 74 strncat(tempbuff, " ", n - strlen(tempbuff)) [all...] |