substitute obsolete function calls(bzero/index)

This commit is contained in:
Waldemar Brodkorb authored and Andreas Steffen committed 2010-08-01 21:20:15 +02:00
1 parent 50fb724ddd
commit 45e962edef
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -414,7 +414,7 @@ struct alg_info_esp *alg_info_esp_create_from_str(char *alg_str)
alg_info_esp = malloc_thing (struct alg_info_esp);
zero(alg_info_esp);
pfs_name=index (alg_str, ';');
pfs_name=strchr(alg_str, ';');
if (pfs_name)
{
memcpy(esp_buf, alg_str, pfs_name-alg_str);