Ticket #587: log_v3.c.patch
File log_v3.c.patch, 449 bytes (added by , 9 years ago) |
---|
-
log_v3.c
old new 106 106 107 107 /* Allocate our context */ 108 108 context = (struct plugin_context *) calloc (1, sizeof (struct plugin_context)); 109 if (NULL == context) { 110 printf("Unable to allocate memory for context\n"); 111 return OPENVPN_PLUGIN_FUNC_ERROR; 112 } 109 113 110 114 /* Set the username/password we will require. */ 111 115 context->username = "foo";