mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	connection: Object ID 0 is not a valid new object ID
This commit is contained in:
		
							parent
							
								
									efeb9e9778
								
							
						
					
					
						commit
						f6ede01b68
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -600,7 +600,7 @@ wl_connection_demarshal(struct wl_connection *connection,
 | 
				
			||||||
			closure->types[i] = &ffi_type_uint32;
 | 
								closure->types[i] = &ffi_type_uint32;
 | 
				
			||||||
			closure->args[i] = p;
 | 
								closure->args[i] = p;
 | 
				
			||||||
			object = wl_hash_table_lookup(objects, *p);
 | 
								object = wl_hash_table_lookup(objects, *p);
 | 
				
			||||||
			if (object != NULL) {
 | 
								if (*p == 0 || object != NULL) {
 | 
				
			||||||
				printf("not a new object (%d), "
 | 
									printf("not a new object (%d), "
 | 
				
			||||||
				       "message %s(%s)\n",
 | 
									       "message %s(%s)\n",
 | 
				
			||||||
				       *p, message->name, message->signature);
 | 
									       *p, message->name, message->signature);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue