Searched refs:s1_p1_len (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.3-release/contrib/libpcap/
H A Dpcap-sita.c493 int s1_p1_len, s2_p1_len; local
497 s1_p1_len = s1_p2 - s1; /* the prefix length is the difference in pointers */
500 s1_p1_len = strlen(s1); /* the prefix length is the length of the string itself */
510 strncpy(str1, s1, (s1_p1_len > sizeof(str1)) ? s1_p1_len : sizeof(str1)); *(str1 + s1_p1_len) = 0;

Completed in 73 milliseconds