Skip to content
Browse files

Super-nitpicky whitespace and variable name adjustment

  • Loading branch information...
1 parent 5972db9 commit b5911738e733a211b121d3fec27c6eda06353fa4 @kstrauser committed Mar 25, 2012
Showing with 9 additions and 5 deletions.
  1. +2 −1 src/pgdbf.c
  2. +7 −4 src/pgdbf.h
View
3 src/pgdbf.c
@@ -552,7 +552,8 @@ int main(int argc, char **argv) {
break;
case 'L':
/* This was a smallint at some point in the past */
- if(optusecreatetable) printf("BOOLEAN"); break;
+ if(optusecreatetable) printf("BOOLEAN");
+ break;
case 'M':
if(memofilename == NULL) {
printf("\n");
View
11 src/pgdbf.h
@@ -194,12 +194,15 @@ typedef struct {
#if defined(HAVE_ICONV)
static iconv_t conv_desc = NULL;
-static char* convertcharset(const char* sjis, size_t* inputsize)
+static char* convertcharset(const char* inputstring, size_t* inputsize)
{
- char *inbuf, *outbuf;
- size_t inbytesleft, outbyteslen, outbytesleft;
+ char *inbuf;
+ char *outbuf;
+ size_t inbytesleft;
+ size_t outbyteslen;
+ size_t outbytesleft;
- inbuf = (char *)sjis;
+ inbuf = (char *)inputstring;
inbytesleft = *inputsize;
outbyteslen = inbytesleft * 4 + 1;
outbytesleft = outbyteslen;

0 comments on commit b591173

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