summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c98a95e)
raw | patch | inline | side by side (parent: c98a95e)
author | Alex Riesen <raa.lkml@gmail.com> | |
Sun, 24 May 2009 13:16:49 +0000 (15:16 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 24 May 2009 18:08:31 +0000 (11:08 -0700) |
Noticed and reported by Serhat Şevki Dinçer.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Acked-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Acked-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-push.c | patch | blob | history |
diff --git a/http-push.c b/http-push.c
index 68052888570af7d09535db8831b8cf3ef2881589..0696da0fec5a4e1f2f089b1f47ff6bb88d1032e7 100644 (file)
--- a/http-push.c
+++ b/http-push.c
fprintf(stderr, "Removing remote locks...\n");
while (lock) {
+ struct remote_lock *next = lock->next;
unlock_remote(lock);
- lock = lock->next;
+ lock = next;
}
}