/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to plugin-runner.c

  • Committer: Teddy Hogeborn
  • Date: 2017-02-21 18:26:18 UTC
  • Revision ID: teddy@recompile.se-20170221182618-0h6qm9zhttbkbjb9
Remove nonnull attribute on callback function

Having the nonnull attribute on this function is inappropriate, since
it is called from an external library we do not control.

* plugins.d/mandos-client.c (resolve_callback): Removed "nonnull"
  attribute.

Show diffs side-by-side

added added

removed removed

Lines of Context:
792
792
  }
793
793
  
794
794
  if(debug){
795
 
    for(plugin *p = plugin_list; p != NULL; p=p->next){
 
795
    for(plugin *p = plugin_list; p != NULL; p = p->next){
796
796
      fprintf(stderr, "Plugin: %s has %d arguments\n",
797
797
              p->name ? p->name : "Global", p->argc - 1);
798
798
      for(char **a = p->argv; *a != NULL; a++){