projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the variable 'bufused', which came over from winnet.c in
[u/mdw/putty]
/
windows
/
winstore.c
diff --git
a/windows/winstore.c
b/windows/winstore.c
index
47fef67
..
ce5dae6
100644
(file)
--- a/
windows/winstore.c
+++ b/
windows/winstore.c
@@
-749,7
+749,7
@@
static int transform_jumplist_registry
/*
* Either return or free the result.
*/
/*
* Either return or free the result.
*/
- if (out)
+ if (out
&& ret == ERROR_SUCCESS
)
*out = old_value;
else
sfree(old_value);
*out = old_value;
else
sfree(old_value);
@@
-782,7
+782,7
@@
char *get_jumplist_registry_entries (void)
{
char *list_value;
{
char *list_value;
- if (transform_jumplist_registry(NULL,NULL,&list_value) !=
ERROR_SUCCESS
) {
+ if (transform_jumplist_registry(NULL,NULL,&list_value) !=
JUMPLISTREG_OK
) {
list_value = snewn(2, char);
*list_value = '\0';
*(list_value + 1) = '\0';
list_value = snewn(2, char);
*list_value = '\0';
*(list_value + 1) = '\0';