mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 07:52:42 +01:00 
			
		
		
		
	fix(ipc): typo
This commit is contained in:
		| @@ -79,7 +79,7 @@ struct Ipc::ipc_response Ipc::recv(int fd) const { | |||||||
|     auto res = ::recv(fd, header.data() + total, ipc_header_size_ - total, 0); |     auto res = ::recv(fd, header.data() + total, ipc_header_size_ - total, 0); | ||||||
|     if (res <= 0) { |     if (res <= 0) { | ||||||
|       if (res <= 0 && (fd_event_ == -1 || fd_ == -1)) { |       if (res <= 0 && (fd_event_ == -1 || fd_ == -1)) { | ||||||
|         // IPC is closed so just return empty response |         // IPC is closed so just return an empty response | ||||||
|         return {0, 0, ""}; |         return {0, 0, ""}; | ||||||
|       } |       } | ||||||
|       throw std::runtime_error("Unable to receive IPC header"); |       throw std::runtime_error("Unable to receive IPC header"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alex
					Alex