fixed invalid return type

This commit is contained in:
applestash committed 2014-07-14 02:35:02 +10:00
1 parent 44ccbedee3
commit 1c8f323a1a
1 file changed
+2 -2
+2 -2
View File
@@ -417,12 +417,12 @@ void SetBoolYAMLValue(bool *dest, char *key, ctr_yaml_context *ctx)
if(!EventIsScalar(ctx)){
fprintf(stderr,"[RSF ERROR] '%s' requires a value\n",key);
ctx->error = YAML_BAD_FORMATTING;
return false;
return;
}
if(!GetYamlStringSize(ctx)){
fprintf(stderr,"[RSF ERROR] '%s' requires a value\n",key);
ctx->error = YAML_BAD_FORMATTING;
return false;
return;
}
if(casecmpYamlValue("true",ctx))