compat: fix plugin load for plugins without data argument
authorBernhard Miklautz <bmiklautz@thinstuff.at>
Wed, 30 Jan 2013 09:51:49 +0000 (10:51 +0100)
committerBernhard Miklautz <bmiklautz@thinstuff.at>
Wed, 30 Jan 2013 09:51:49 +0000 (10:51 +0100)
client/common/compatibility.c

index 9730215..9a7cd4d 100644 (file)
@@ -269,6 +269,11 @@ int freerdp_client_old_command_line_pre_filter(void* context, int index, int arg
                                index++;
                                i++;
                        }
+               } else {
+                               if (settings->instance)
+                               {
+                                       freerdp_client_old_process_plugin(settings, args);
+                               }
                }
 
                return (index - old_index);