opnsense-ports/net-im/telegram/files/patch-lua-tg.c
Franco Fichtner eed7de3a28 */*: sync with upstream
Taken from: FreeBSD
2016-12-28 12:42:23 +01:00

15 lines
408 B
C

--- lua-tg.c.orig 2016-12-27 02:26:05 UTC
+++ lua-tg.c
@@ -661,9 +661,9 @@ struct lua_arg {
struct lua_arg lua_ptr[MAX_LUA_COMMANDS];
static int pos;
-static inline tgl_peer_t *get_peer (const char *s) {
- return tgl_peer_get_by_name (TLS, s);
-}
+// static inline tgl_peer_t *get_peer (const char *s) {
+// return tgl_peer_get_by_name (TLS, s);
+// }
enum lua_query_type {
lq_contact_list,