Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2022-09-07 14:28:24 +0300
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2022-10-04 19:38:00 +0300
commit8d82c0d5a8297773f9d01f12e355d6d4014671e6 (patch)
tree4012e6971bfbeaf2effd936bb775ef755db03b93 /plugins/x2go/x2go_plugin.c
parent345663f4e79bc82172461afdc551e7f3895d2af0 (diff)
plugins/x2go/x2go_plugin.c: Update comment + remove misleading error message.
Diffstat (limited to 'plugins/x2go/x2go_plugin.c')
-rw-r--r--plugins/x2go/x2go_plugin.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/x2go/x2go_plugin.c b/plugins/x2go/x2go_plugin.c
index a5e34b6d0..c72b27192 100644
--- a/plugins/x2go/x2go_plugin.c
+++ b/plugins/x2go/x2go_plugin.c
@@ -3176,8 +3176,8 @@ static GError* rmplugin_x2go_int_setting_validator(gchar* key, gpointer value,
gint int_value;
err = str2int(&int_value, value, 10);
if (err == STR2INT_INCONVERTIBLE) {
- // Can't happen in theory since non-numerical characters are can't
- // be entered but, let's be safe.
+ // non-numerical characters are can't be entered but, the user can
+ // input an empty string.
g_set_error(&error, 1, 1, "%s", _("The input is not a valid integer!"));
} else if (err == STR2INT_OVERFLOW || err == STR2INT_UNDERFLOW) {
g_set_error(&error, 1, 1, _("Input must be a number between %i and %i."),
@@ -3187,8 +3187,6 @@ static GError* rmplugin_x2go_int_setting_validator(gchar* key, gpointer value,
}
if (error) {
- REMMINA_PLUGIN_CRITICAL("%s", _("Please check the RemminaProtocolSetting "
- "array for possible errors."));
return error;
}