major dialplan functions update
[asterisk/asterisk.git] / include / asterisk / module.h
index 80806de..0f8cd50 100644 (file)
@@ -336,7 +336,7 @@ void ast_unregister_atexit(void (*func)(void));
  \
        if (!(u=calloc(1,sizeof(*u)))) { \
                ast_log(LOG_WARNING, "Out of memory\n"); \
-               return ""; \
+               return -1; \
        } \
        ast_mutex_lock(&localuser_lock); \
        u->chan = chan; \