Skip to content

sample handlers don't compile #2

@marianoguerra

Description

@marianoguerra

I get this error while compiling the sample handlers

[mariano@ganesha lib]$ make test
ar rcs libm2handler.a m2handler.o m2websocket.o md5.o bstrlib.o bstraux.o
ranlib libm2handler.a
cc -g -std=c99 -Wall -Werror -I/opt/local/include -I. -c sample_handlers/body_toupper.c -o body_toupper.o
sample_handlers/body_toupper.c: In function ‘main’:
sample_handlers/body_toupper.c:23:77: error: the comparison will always evaluate as ‘false’ for the address of ‘SENDER’ will never be NULL [-Werror=address]
cc1: all warnings being treated as errors

make: *** [body_toupper.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions