summaryrefslogtreecommitdiff
path: root/xdelta1/xdelta.c
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2007-02-02 06:40:34 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2007-02-02 06:40:34 +0000
commitcf90ff745827ea1d080cfc0ea51381838bfec38d (patch)
tree83c0b200b0e63f726a9a38056603a79abac19f7a /xdelta1/xdelta.c
parent8748d16e6e5bf741ede89af1940f8291fb1b8046 (diff)
Add an error message for parse errors with the XdeltaControl object.
Diffstat (limited to 'xdelta1/xdelta.c')
-rwxr-xr-xxdelta1/xdelta.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xdelta1/xdelta.c b/xdelta1/xdelta.c
index ff9b934..6d73fa2 100755
--- a/xdelta1/xdelta.c
+++ b/xdelta1/xdelta.c
@@ -1422,7 +1422,10 @@ xdp_control_read (XdeltaStream *cont_in)
1422 /* TODO: free src */ 1422 /* TODO: free src */
1423 1423
1424 if (! serializeio_unserialize_generic_acceptable (src, ST_XdeltaControl | ST_Version0Control, & type, (void**) & cont)) 1424 if (! serializeio_unserialize_generic_acceptable (src, ST_XdeltaControl | ST_Version0Control, & type, (void**) & cont))
1425 return NULL; 1425 {
1426 g_warning ("patch parse error\n");
1427 return NULL;
1428 }
1426 1429
1427 if (type == ST_Version0Control) 1430 if (type == ST_Version0Control)
1428 { 1431 {