diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-03-26 12:53:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-26 12:53:53 +0100 |
| commit | 13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 (patch) | |
| tree | 3aa7186fe092e42783dc7e981dc39a74ea61c466 /gl/asprintf.c | |
| parent | 9d8503f90ef25b2cecd324dc118e441f40233ea8 (diff) | |
| download | monitoring-plugins-13e14a6bfd9f29cbfeab0c5161d2a994f97532e7.tar.gz | |
Update/gnulib 2026 03 (#2247)
* Sync with the 202601-stable Gnulib code (4a3650d887)
* Ignore more deps stuff in gnulib
* Remove autogenerated gnulib files
* Ignore more gnulib generated headers
Diffstat (limited to 'gl/asprintf.c')
| -rw-r--r-- | gl/asprintf.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gl/asprintf.c b/gl/asprintf.c index 336700be..5da2d085 100644 --- a/gl/asprintf.c +++ b/gl/asprintf.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Formatted output to strings. | 1 | /* Formatted output to strings. |
| 2 | Copyright (C) 1999, 2002, 2006-2007, 2009-2025 Free Software Foundation, | 2 | Copyright (C) 1999, 2002, 2006-2007, 2009-2026 Free Software Foundation, |
| 3 | Inc. | 3 | Inc. |
| 4 | 4 | ||
| 5 | This file is free software: you can redistribute it and/or modify | 5 | This file is free software: you can redistribute it and/or modify |
| @@ -30,10 +30,8 @@ int | |||
| 30 | asprintf (char **resultp, const char *format, ...) | 30 | asprintf (char **resultp, const char *format, ...) |
| 31 | { | 31 | { |
| 32 | va_list args; | 32 | va_list args; |
| 33 | int result; | ||
| 34 | |||
| 35 | va_start (args, format); | 33 | va_start (args, format); |
| 36 | result = vasprintf (resultp, format, args); | 34 | int result = vasprintf (resultp, format, args); |
| 37 | va_end (args); | 35 | va_end (args); |
| 38 | return result; | 36 | return result; |
| 39 | } | 37 | } |
