Big modification - switch to macros for parent class access
[melted] / src / miracle / miracle_unit_commands.c
index f0cbfd1..98a420d 100644 (file)
@@ -269,7 +269,7 @@ int miracle_receive( command_argument cmd_arg, char *doc )
        miracle_unit unit = miracle_get_unit(cmd_arg->unit);
        if ( unit != NULL && producer != NULL )
        {
-               if ( miracle_unit_append_service( unit, mlt_producer_service( producer ) ) == valerie_ok )
+               if ( miracle_unit_append_service( unit, MLT_PRODUCER_SERVICE( producer ) ) == valerie_ok )
                {
                        mlt_producer_close( producer );
                        return RESPONSE_SUCCESS;