add: ++p;
context: void register_ladspa_plugins(void) {  DIR *dp;  ECA_RESOURCES ecarc;  string dir_name = ecarc.resource("ladspa-plugin-directory");    struct stat statbuf;  dp = opendir(dir_name.c_str());  if (dp != 0) {    struct dirent *entry = readdir(dp);    while(entry != 0) {      lstat(entry->d_name, &statbuf);      if (string(entry->d_name).find(".so") != string::npos) {	vector<EFFECT_LADSPA*> ladspa_plugins;	try {	  ladspa_plugins = create_plugins(dir_name + "/" + string(entry->d_name));	}	catch(ECA_ERROR *e) { cerr << e->error_msg() << endl; }	for(unsigned int n = 0; n < ladspa_plugins.size(); n++) {	  eca_ladspa_plugin_map.register_object(ladspa_plugins[n]->unique(), ladspa_plugins[n]);	}      }      entry = readdir(dp);    }  }}