Control: tags -1 patch upstream
Control: forwarded -1 https://github.com/dparrish/libcli/pull/21

Hi,

Here's a patch (+ forwarded upstream) for this. It's fairly trivial.

James
Description: Fix build failure on GCC5 by using C99 __func__
Author: James Cowgill <james...@cowgill.org.uk>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/clitest.c
+++ b/clitest.c
@@ -72,7 +72,7 @@ int winsock_init()
 int cmd_test(struct cli_def *cli, const char *command, char *argv[], int argc)
 {
     int i;
-    cli_print(cli, "called %s with \"%s\"", __FUNCTION__, command);
+    cli_print(cli, "called %s with \"%s\"", __func__, command);
     cli_print(cli, "%d arguments:", argc);
     for (i = 0; i < argc; i++)
         cli_print(cli, "        %s", argv[i]);

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to