Commit Diff


commit - 13a45a2ceb678af7379691af463070db9724c498d438a3db446d0b6fee669433
commit + 0fa9f38ddd64498df9f14e4a3768aa6825d087b17a403a55b5676364972b8369
blob - 10993fb797182c7a74d7faa3bf0068cc428c8a6e6224acc73148114a84184234
blob + 50dfab011c947395c9b98b80caea071c30644bfc571751e9cc41aaa526a5a14a
--- gotsysd/libexec/gotsys-write-conf/gotsys-write-conf.c	
+++ gotsysd/libexec/gotsys-write-conf/gotsys-write-conf.c	
@@ -1463,11 +1463,11 @@ write_gotwebd_conf(void)
 		}
 
 		if (webcfg.login_hint_port[0] != '\0') {
-			ret = dprintf(fd, "login hint port \"%s\"\n",
+			ret = dprintf(fd, "login hint port %s\n",
 			    webcfg.login_hint_port);
 			if (ret == -1) 
 				return got_error_from_errno2("dprintf", path);
-			if (ret != 18 + strlen(webcfg.login_hint_port) + 1) {
+			if (ret != 16 + strlen(webcfg.login_hint_port) + 1) {
 				return got_error_fmt(GOT_ERR_IO,
 				    "short write to %s", path);
 			}