mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-11-04 09:02:14 +00:00 
			
		
		
		
	Merge pull request #152 from mikeu/master
Patch incorrect #elif directives to #else directives
This commit is contained in:
		@@ -508,7 +508,7 @@ void KPty::login(const char * user, const char * remotehost)
 | 
				
			|||||||
    if (user) {
 | 
					    if (user) {
 | 
				
			||||||
# ifdef HAVE_UT_USER
 | 
					# ifdef HAVE_UT_USER
 | 
				
			||||||
        strncpy(l_struct.ut_user, user, sizeof(l_struct.ut_user));
 | 
					        strncpy(l_struct.ut_user, user, sizeof(l_struct.ut_user));
 | 
				
			||||||
#elif
 | 
					#else
 | 
				
			||||||
        strncpy(l_struct.ut_name, user, sizeof(l_struct.ut_name));
 | 
					        strncpy(l_struct.ut_name, user, sizeof(l_struct.ut_name));
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -624,7 +624,7 @@ void KPty::logout()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# ifdef HAVE_UT_USER
 | 
					# ifdef HAVE_UT_USER
 | 
				
			||||||
        memset(ut->ut_user, 0, sizeof(*ut->ut_user));
 | 
					        memset(ut->ut_user, 0, sizeof(*ut->ut_user));
 | 
				
			||||||
#elif
 | 
					#else
 | 
				
			||||||
        memset(ut->ut_name, 0, sizeof(*ut->ut_name));
 | 
					        memset(ut->ut_name, 0, sizeof(*ut->ut_name));
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user