Re: [Nagios-devel] fix for nrpe 1.6 compile warning

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] fix for nrpe 1.6 compile warning

Post by Guest »

Thanks - should be in CVS shortly.

On 6 Jan 2003 at 18:13, Voon, Ton wrote:

> Hi!
>
> Just a quick bugette to be squashed in the compile for NRPE 1.6. The warning
> is:
>
> gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nrpe.c utils.c -o nrpe
> nrpe.c:48: warning: initialization makes integer from pointer without a cast
> gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket check_nrpe.c utils.c -o
> check_nrpe
> check_nrpe.c:27: warning: initialization makes integer from pointer without
> a cast
>
> The fix is to change the line in configure.in from
> AC_DEFINE_UNQUOTED(DEFAULT_SERVER_PORT,"$nrpe_port")
> to
> AC_DEFINE_UNQUOTED(DEFAULT_SERVER_PORT,$nrpe_port)
>
> Ton
>
>
> This private and confidential e-mail has been sent to you by Egg.
> The Egg group of companies includes Egg Banking plc
> (registered no. 2999842), Egg Financial Products Ltd (registered
> no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
> carries out investment business on behalf of Egg and is regulated
> by the Financial Services Authority.
> Registered in England and Wales. Registered offices: 1 Waterhouse Square,
> 138-142 Holborn, London EC1N 2NA.
> If you are not the intended recipient of this e-mail and have
> received it in error, please notify the sender by replying with
> 'received in error' as the subject and then delete it from your
> mailbox.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
>



Ethan Galstad,
Nagios Developer
---
Email: nagios@nagios.org
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: nagios@nagios.org
Locked