Indicate that client_state_t and client_config_t pointer args
cannot ever be null. Could possibly improve code generation, and makes the intention clear.
This commit is contained in:
		| @@ -67,7 +67,7 @@ int allow_hostname = 0; | ||||
| uid_t ifch_uid = 0; | ||||
| gid_t ifch_gid = 0; | ||||
|  | ||||
| static void writeordie(int fd, const char *buf, size_t len) | ||||
| static void writeordie(int fd, const char buf[static 1], size_t len) | ||||
| { | ||||
|     ssize_t r = safe_write(fd, buf, len); | ||||
|     if (r < 0 || (size_t)r != len) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user