rem: ret = 0;
context: static int32 totem_plugin_write (NPP instance, NPStream *stream, int32 offset,	int32 len, void *buffer){	TotemPlugin *plugin;	int ret;	DEBUG("plugin_write");	if (instance == NULL)		return 0;	plugin = (TotemPlugin *) instance->pdata;	if (plugin == NULL)		return 0;	if (!plugin->player_pid)		return 0;	if (plugin->send_fd < 0)		return 0;//	g_message ("write %d %p %d", plugin->send_fd, buffer, len);	ret = write (plugin->send_fd, buffer, len);	if (ret < 0) {		g_message ("ret %d", ret);		ret = 0;	}	return ret;}