cmds/ssdptax.cc
const std::string unfriendly_name(const std::string &manufacturer,
    const std::string &model)
{
  if (strcasestr(model.c_str(), manufacturer.c_str()) != NULL) {
    return model;
  }

  return manufacturer + " " + model;
}
/*
 * Combine the manufacturer and model. If the manufacturer name
 * is already present in the model string, don't duplicate it.
 */
Combine the manufacturer and model. If the manufacturer name
is already present in the model string, don't duplicate it.
Combine the manufacturer and model . If the manufacturer name is already present in the model string don ' t duplicate it .
const std::string unfriendly_name(const std::string &manufacturer,
    const std::string &model)
{
  if (strcasestr(model.c_str(), manufacturer.c_str()) != NULL) {
    return model;
  }
  return manufacturer + " " + model;
}
const std :: string unfriendly_name ( const std :: string & manufacturer , const std :: string & model ) { if ( strcasestr ( model . c_str ( ) , manufacturer . c_str ( ) ) != NULL ) { return model ; } return manufacturer + " " + model ; }
Combine the manufacturer and model.
Combine the manufacturer and model .