mirror of
				https://github.com/rofafor/vdr-plugin-iptv.git
				synced 2023-10-10 11:37:03 +00:00 
			
		
		
		
	C++11 requires a mandatory space when concatenating string literals.
This commit is contained in:
		
							
								
								
									
										19
									
								
								common.h
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								common.h
									
									
									
									
									
								
							@@ -32,18 +32,17 @@
 | 
			
		||||
 | 
			
		||||
#define SECTION_FILTER_TABLE_SIZE       5
 | 
			
		||||
 | 
			
		||||
#define ERROR_IF_FUNC(exp, errstr, func, ret)                       \
 | 
			
		||||
  do {                                                              \
 | 
			
		||||
     if (exp) {                                                     \
 | 
			
		||||
        char tmp[64];                                               \
 | 
			
		||||
        esyslog("[%s,%d]: "errstr": %s", __FILE__, __LINE__,        \
 | 
			
		||||
                strerror_r(errno, tmp, sizeof(tmp)));               \
 | 
			
		||||
        func;                                                       \
 | 
			
		||||
        ret;                                                        \
 | 
			
		||||
        }                                                           \
 | 
			
		||||
#define ERROR_IF_FUNC(exp, errstr, func, ret)                  \
 | 
			
		||||
  do {                                                         \
 | 
			
		||||
     if (exp) {                                                \
 | 
			
		||||
        char tmp[64];                                          \
 | 
			
		||||
        esyslog("[%s,%d]: " errstr ": %s", __FILE__, __LINE__, \
 | 
			
		||||
                strerror_r(errno, tmp, sizeof(tmp)));          \
 | 
			
		||||
        func;                                                  \
 | 
			
		||||
        ret;                                                   \
 | 
			
		||||
        }                                                      \
 | 
			
		||||
  } while (0)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#define ERROR_IF_RET(exp, errstr, ret) ERROR_IF_FUNC(exp, errstr, ,ret);
 | 
			
		||||
 | 
			
		||||
#define ERROR_IF(exp, errstr) ERROR_IF_FUNC(exp, errstr, , );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user