Skip to content
Browse files

fix incorrect comment

  • Loading branch information...
1 parent a677e32 commit ec4b10316cf00252d978b594f7458fc334371be8 @falconindy committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 cower.c
View
3 cower.c
@@ -1076,7 +1076,7 @@ int json_string(void *ctx, const unsigned char *data, size_t size) /* {{{ */
switch(p->key) {
case KEY_QUERY_RESULTS:
- /* usually the AUR returns this as an integer. when it shows
+ /* usually the AUR returns this as an array. when it shows
* up as a string, it means we have an error. gross. */
p->error = strndup((const char*)data, size);
return 0;
@@ -1102,6 +1102,7 @@ int json_string(void *ctx, const unsigned char *data, size_t size) /* {{{ */
key = &p->aurpkg->lic;
break;
default:
+ /* ignored other fields */
return 1;
}

0 comments on commit ec4b103

Please sign in to comment.
Something went wrong with that request. Please try again.