diff options
author | Sebastian Schuberth <sschuberth@gmail.com> | 2011-09-08 14:22:29 +0200 |
---|---|---|
committer | Sebastian Schuberth <sschuberth@gmail.com> | 2011-09-08 17:07:52 +0200 |
commit | 45e93ef34e3373440d17081557e1e5100caaaeac (patch) | |
tree | f6d8ed90dca4f21ef785bbcd54e74552c1698e93 /src | |
parent | 26e74c6acedaec5c76944ac1f1a0f9215f23737f (diff) | |
download | libgit2-45e93ef34e3373440d17081557e1e5100caaaeac.tar.gz |
Fix minor indentation issues (spaces to tabs)
Diffstat (limited to 'src')
-rw-r--r-- | src/config_file.c | 4 | ||||
-rw-r--r-- | src/filebuf.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/config_file.c b/src/config_file.c index 4e5dd0bb4..7fb54a6c0 100644 --- a/src/config_file.c +++ b/src/config_file.c @@ -539,9 +539,9 @@ static char *cfg_readline(diskfile_backend *cfg) while (isspace(*line_src)) ++line_src; - line_end = strchr(line_src, '\n'); + line_end = strchr(line_src, '\n'); - /* no newline at EOF */ + /* no newline at EOF */ if (line_end == NULL) line_end = strchr(line_src, 0); diff --git a/src/filebuf.c b/src/filebuf.c index 6d398a7db..9388d8be7 100644 --- a/src/filebuf.c +++ b/src/filebuf.c @@ -125,15 +125,15 @@ static int write_deflate(git_filebuf *file, void *source, size_t len) zs->next_out = file->z_buf; zs->avail_out = file->buf_size; - result = deflate(zs, file->flush_mode); - assert(result != Z_STREAM_ERROR); + result = deflate(zs, file->flush_mode); + assert(result != Z_STREAM_ERROR); - have = file->buf_size - zs->avail_out; + have = file->buf_size - zs->avail_out; if (p_write(file->fd, file->z_buf, have) < GIT_SUCCESS) return git__throw(GIT_EOSERR, "Failed to write to file"); - } while (zs->avail_out == 0); + } while (zs->avail_out == 0); assert(zs->avail_in == 0); |