Skip to content

Commit

Permalink
Fix: warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnicola committed Nov 29, 2023
1 parent 53c5df1 commit 9f8e4a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .docker/prod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN apt-get update && apt-get install --no-install-recommends --no-install-sugge
libhdb9-heimdal \
libpopt0 \
libcurl4-gnutls-dev \
zlib1g\
zlib1g \
&& rm -rf /var/lib/apt/lists/*
COPY .docker/openvas.conf /etc/openvas/
# must be pre built within the rust dir and moved to the bin dir
Expand Down
3 changes: 2 additions & 1 deletion misc/table_driven_lsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,8 +835,9 @@ init_string (struct string *s)
* libcurl. It stores the response in s. It reallocate memory if necessary.
*/
static size_t
response_callback_fn (void *ptr, size_t size, size_t nmemb, struct string *s)
response_callback_fn (void *ptr, size_t size, size_t nmemb, void *struct_string)
{
struct string *s = struct_string;
size_t new_len = s->len + size * nmemb;
char *ptr_aux = g_realloc (s->ptr, new_len + 1);
s->ptr = ptr_aux;
Expand Down

0 comments on commit 9f8e4a9

Please sign in to comment.