summaryrefslogtreecommitdiffstats
path: root/amarok/src/mediadevice/daap/mongrel/http11/ext_help.h
diff options
context:
space:
mode:
Diffstat (limited to 'amarok/src/mediadevice/daap/mongrel/http11/ext_help.h')
-rw-r--r--amarok/src/mediadevice/daap/mongrel/http11/ext_help.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/amarok/src/mediadevice/daap/mongrel/http11/ext_help.h b/amarok/src/mediadevice/daap/mongrel/http11/ext_help.h
index 8b4d754c..387a3049 100644
--- a/amarok/src/mediadevice/daap/mongrel/http11/ext_help.h
+++ b/amarok/src/mediadevice/daap/mongrel/http11/ext_help.h
@@ -3,7 +3,7 @@
#define RAISE_NOT_NULL(T) if(T == NULL) rb_raise(rb_eArgError, "NULL found for " # T " when shouldn't be.");
#define DATA_GET(from,type,name) Data_Get_Struct(from,type,name); RAISE_NOT_NULL(name);
-#define REQUIRE_TYPE(V, T) if(TYPE(V) != T) rb_raise(rb_eTypeError, "Wrong argument type for " # V " required " # T);
+#define RETQUIRE_TYPE(V, T) if(TYPE(V) != T) rb_raise(rb_eTypeError, "Wrong argument type for " # V " required " # T);
#ifdef DEBUG
#define TRACE() fprintf(stderr, "> %s:%d:%s\n", __FILE__, __LINE__, __FUNCTION__)