summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2010-04-21 23:48:58 +0200
committerAndreas Gruenbacher <agruen@suse.de>2010-04-21 23:50:49 +0200
commit9486a75e1ac94806de2c6cd17ea4beaf32dbc270 (patch)
treed7e0655dfea59bc6a3709356273208b8b1d35fb7
parent3b60c20c176ab820a0c8bacc8084eb289284fcf0 (diff)
downloadpatch-9486a75e1ac94806de2c6cd17ea4beaf32dbc270.tar.gz
Cosmetic fix
* src/util.c (fetchname): Cosmetic fix.
-rw-r--r--ChangeLog4
-rw-r--r--src/util.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 14f83d2..39f3eea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-21 Andreas Gruenbacher <agruen@suse.de>
+
+ * src/util.c (fetchname): Cosmetic fix.
+
2010-04-19 Ludovic Courtès <ludo@gnu.org>
* src/Makefile.am (patch_SOURCES): Remove the obsolete diffseq.h to
diff --git a/src/util.c b/src/util.c
index 4321a06..a4ba204 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1212,7 +1212,7 @@ fetchname (char *at, int strip_leading, char **ptimestr, time_t *pstamp)
if (pstamp)
*pstamp = stamp;
- if (timestr)
+ if (ptimestr)
*ptimestr = timestr;
return savestr (name);
}