Skip to content

Commit

Permalink
Fix uninitalized hostname.
Browse files Browse the repository at this point in the history
  • Loading branch information
oskar456 committed Jun 21, 2016
1 parent da9ff06 commit 45d942e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([rtp2httpd], [1.2], [[email protected]])
AC_INIT([rtp2httpd], [1.3], [[email protected]])
AC_CONFIG_SRCDIR([src/rtp2httpd.h])
AC_CONFIG_HEADERS([src/config.h])
AM_INIT_AUTOMAKE
Expand Down
2 changes: 1 addition & 1 deletion src/httpclients.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ void clientService(int s) {
FILE *client;
int numfields;
char *method, *url, httpver;
char *hostname;
char *hostname = "";
char *urlfrom;
struct services_s *servi;

Expand Down

0 comments on commit 45d942e

Please sign in to comment.