# HG changeset patch # User Ralf Ertzinger # Date 1190059821 -7200 # Node ID 2e33cfa6a872dfa033b4016a620aa12ccde54093 # Parent 2e60ba395140bb6805e34d71461e5448ba17fa31 - Correct some compiler warnings diff -r 2e60ba395140 -r 2e33cfa6a872 src/neon/debug.h --- a/src/neon/debug.h Mon Sep 17 21:55:52 2007 +0200 +++ b/src/neon/debug.h Mon Sep 17 22:10:21 2007 +0200 @@ -22,7 +22,7 @@ #define _ENTER _DEBUG("enter") #define _LEAVE _DEBUG("leave"); return -#define _MESSAGE(tag, string, ...) do { fprintf(stderr, "%s: libneontrans.so: %s:%d (%s): " string "\n", \ +#define _MESSAGE(tag, string, ...) do { fprintf(stderr, "%s: libneonsrc.so: %s:%d (%s): " string "\n", \ tag, __FILE__, __LINE__, __func__, ##__VA_ARGS__); } while(0) #define _ERROR(...) _MESSAGE("ERROR", __VA_ARGS__) diff -r 2e60ba395140 -r 2e33cfa6a872 src/neon/neon.c --- a/src/neon/neon.c Mon Sep 17 21:55:52 2007 +0200 +++ b/src/neon/neon.c Mon Sep 17 22:10:21 2007 +0200 @@ -228,6 +228,7 @@ _ERROR("Could not parse redirect response"); _LEAVE -1; } + _LEAVE 1; break; default: diff -r 2e60ba395140 -r 2e33cfa6a872 src/neon/rb.h --- a/src/neon/rb.h Mon Sep 17 21:55:52 2007 +0200 +++ b/src/neon/rb.h Mon Sep 17 22:10:21 2007 +0200 @@ -28,5 +28,6 @@ void reset_rb(struct ringbuf* rb); unsigned int free_rb(struct ringbuf* rb); unsigned int used_rb(struct ringbuf* rb); +void destroy_rb(struct ringbuf* rb); #endif