tabled: fix type of n
PATCH 3/7 tabled: fix type of n
We might not be able to detect LONG_MAX returned by strtol if n is clipped. OK, that's far fetched, but anyway it's better to have the correct type.
Signed-off-by Pete Zaitcev <[email protected]>
server/config.c +1 -1
@@ -189,7 +189,7 @@ static void cfg_elm_end (GMarkupParseContext *context, {struct config_context *cc = user_data;struct stat statb; -int n; +long n;if (!strcmp (element_name,"PID" ) && cc->text) {if (tabled_srv.pid_file) {