public
Description:
Homepage:
Clone URL: git://github.com/Squeegy/latest-chatty.git
Fix a small bug that prevented posting.
Squeegy (author)
Sun Aug 17 01:25:14 -0700 2008
commit  48828dc24f1dd581eca768738352adeeeb534820
tree    bcd032f9eae448b1b34ff9a1fe73e55bce832f72
parent  9906b21c8933ddbde26b746c200853589067234d
...
117
118
119
120
 
121
122
123
...
117
118
119
 
120
121
122
123
0
@@ -117,7 +117,7 @@
0
   NSString *passwordString = [self urlEscape:[[NSUserDefaults standardUserDefaults] stringForKey:@"password_preference"]];
0
   NSString *bodyString     = [self urlEscape:postContent.text];
0
   NSString *parentId       = [NSString stringWithFormat:@"%d", parentPost.postId];
0
-  if ([parentId isEqualTo:@"0"]) parentId = @"";
0
+  if ([parentId isEqualToString:@"0"]) parentId = @"";
0
   
0
   
0
   NSString *postBody = [NSString stringWithFormat:@"body=%@&iuser=%@&ipass=%@&parent=%@&group=%d", bodyString, usernameString, passwordString, parentId, storyId];

Comments