1 diff -Nru echoping-6.0.2-orig/echoping.c echoping-6.0.2/echoping.c
2 --- echoping-6.0.2-orig/echoping.c 2007-04-05 14:40:49.000000000 +0200
3 +++ echoping-6.0.2/echoping.c 2010-06-07 10:31:23.000000000 +0200
6 ext = strstr(plugin_name, ".so");
7 if ((ext == NULL) || (strcmp(ext, ".so") != 0))
8 - sprintf(plugin_name, "%s.so", plugin_name);
9 + strcat(plugin_name, ".so");
10 plugin = dlopen(plugin_name, RTLD_NOW);
12 /* Retries with the absolute name */