[Pinfo-devel] r222 - pinfo/trunk/src
Bas Zoetekouw
bas at costa.debian.org
Sat Sep 10 17:37:18 UTC 2005
Author: bas
Date: 2005-09-10 17:37:17 +0000 (Sat, 10 Sep 2005)
New Revision: 222
Modified:
pinfo/trunk/src/utils.c
Log:
Oops 2, don't forget to declare variables...
Modified: pinfo/trunk/src/utils.c
===================================================================
--- pinfo/trunk/src/utils.c 2005-09-10 15:23:50 UTC (rev 221)
+++ pinfo/trunk/src/utils.c 2005-09-10 17:37:17 UTC (rev 222)
@@ -565,7 +565,7 @@
/* so, now str_start point to a \0-terminated string containing the
* node name from the header.
* Let's compare it with the node_name we're looking for */
- res = strcmp(str_start, node_name);
+ int res = strcmp(str_start, node_name);
/* we're done, so free alloc'ed vars */
xfree(header);
More information about the Pinfo-devel
mailing list