freebsd-ports/net-im/telegram/files/patch-lua-tg.c
Carlos J. Puga Medina 3ce0009a69 net-im/telegram: Update to 1.4.1.g20161227
- Update telegram 1.3.1 -> 1.4.1.g20161227

PR:		215064
Reported by:	Matthias Apitz <guru@unixarea.de>
Reviewed by:	amdmi3
Approved by:	amdmi3, feld (mentors)
2016-12-27 14:01:27 +00: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,