method rename

...spelling
This commit is contained in:
Patrick Wardle
2020-04-11 12:17:22 -10:00
parent 0c21702b7d
commit 3380da99d1
+3 -3
View File
@@ -37,7 +37,7 @@ dispatch_source_t dispatchSource = nil;
//configure
// pass in 'install' flag
result = [NSNumber numberWithInt:[self configure:app arguements:@[CMD_INSTALL]]];
result = [NSNumber numberWithInt:[self configure:app arguments:@[CMD_INSTALL]]];
//reply to client
reply(result);
@@ -78,7 +78,7 @@ dispatch_source_t dispatchSource = nil;
//configure
// pass in 'uninstall' flag
result = [NSNumber numberWithInt:[self configure:app arguements:@[CMD_UNINSTALL, [NSNumber numberWithBool:full].stringValue]]];
result = [NSNumber numberWithInt:[self configure:app arguments:@[CMD_UNINSTALL, [NSNumber numberWithBool:full].stringValue]]];
//reply to client
reply(result);
@@ -88,7 +88,7 @@ dispatch_source_t dispatchSource = nil;
//configure
// install or uninstall
-(int)configure:(NSString*)app arguements:(NSArray*)args
-(int)configure:(NSString*)app arguments:(NSArray*)args
{
//result
int result = -1;