mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 07:10:11 +01:00
2018-08-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'pam_rd' plug-in. * Removed rdchunk(1). * Upgraded Qt3 to Qt4.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <sys/ioctl.h>
|
||||
#endif // WIN32
|
||||
|
||||
#include <qdatetime.h>
|
||||
#include <qmessagebox.h>
|
||||
#include <qregexp.h>
|
||||
#include <qsettings.h>
|
||||
@@ -302,7 +303,7 @@ QString RDConfig::provisioningHostShortName(const QString &hostname) const
|
||||
|
||||
exp.search(hostname);
|
||||
QStringList texts=exp.capturedTexts();
|
||||
if(texts.size()<conf_provisioning_host_short_name_group) {
|
||||
if((unsigned)texts.size()<conf_provisioning_host_short_name_group) {
|
||||
return QString();
|
||||
}
|
||||
return texts[conf_provisioning_host_short_name_group];
|
||||
@@ -327,7 +328,7 @@ QString RDConfig::provisioningServiceName(const QString &hostname) const
|
||||
|
||||
exp.search(hostname);
|
||||
QStringList texts=exp.capturedTexts();
|
||||
if(texts.size()<conf_provisioning_service_name_group) {
|
||||
if((unsigned)texts.size()<conf_provisioning_service_name_group) {
|
||||
return QString();
|
||||
}
|
||||
return texts[conf_provisioning_service_name_group];
|
||||
|
||||
Reference in New Issue
Block a user